Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace WannaBeSeven
- {
- class MainClass
- {
- public static void Main(string[] args) // IF YOU ARE TO REWRITE FROM MY SOURCE, ALL ORIGINAL CREDITORS MUST GO INTO THE CREDITS!
- {
- double num01;
- double num02;
- double num03;
- double num04;
- double num05;
- double num06;
- string CD = null;
- string P = null;
- string answer;
- Console.Write("Diogenes's Calculator 1.0\n\nCredits: Diogenes of Sinope (#57714)\n DezNutz(#54689)");
- Console.WriteLine();
- Console.WriteLine();
- Console.Write("Hello! Would you like Charity Donation or Propaganda Calculator? (CD or P): ");
- answer = Console.ReadLine();
- if (answer == "CD") {
- Console.WriteLine();
- Console.Write("Howmuch influence does the target have?: ");
- num01 = Convert.ToDouble(Console.ReadLine());
- Console.Write("Howmuch is the cost of Charity Donatins? (Gold): ");
- num02 = Convert.ToDouble(Console.ReadLine());
- Console.Write("What % of influence does Charity Donation give (Made if value does change)?: ");
- num03 = Convert.ToDouble(Console.ReadLine());
- Console.Write(num02 + num03);
- Console.ReadKey();
- answer = Console.ReadLine();
- } else if(answer == "P") {
- Console.Write("Howmuch influence does the target have?: ");
- num04 = Convert.ToDouble(Console.ReadLine());
- Console.Write("Howmuch influence do you want the target to have?: ");
- num05 = Convert.ToDouble(Console.ReadLine());
- Console.Write("What % of influence does Propaganda take off (Made if value does change)?: ");
- num06 = Convert.ToDouble(Console.ReadLine());
- Console.Write(num04 + num05);
- Console.ReadKey();
- } else {
- Console.WriteLine("Looks like you didn't type in CD or P. Buh Bye!");
- Console.ReadKey();
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement