Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ConsoleApplication6
- {
- class discount
- {
- static void Main(string[] args)
- {
- double emailusage;
- const double emaildata = 0.02731;
- int month = 30;
- int gig = 1024;
- Console.WriteLine("In a typical day, how often do you do these activities while");
- Console.WriteLine("you're not connected to any wifi?");
- Console.WriteLine();
- Console.WriteLine("Emails:");
- Console.WriteLine("0 5 25 50 100 250+");
- Console.WriteLine("How many emails [without attachments] do you send/receive? ");
- emailusage = double.Parse(Console.ReadLine());
- emailusage = (emailusage * emaildata * month / gig);
- Console.WriteLine(emailusage);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement