Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- double averageip = 76.9;
- Console.WriteLine("How much IP do you have?");
- double myip = Convert.ToDouble(Console.ReadLine());
- Console.WriteLine("How much IP is that champ?");
- double champip = Convert.ToDouble(Console.ReadLine());
- Console.WriteLine("Is it the win of the day? (True or False)");
- bool wotd = Convert.ToBoolean(Console.ReadLine());
- double formula = Convert.ToInt32((champip - myip + 256) / averageip);
- if (wotd != true)
- formula = Convert.ToInt32((champip - myip) / averageip);
- Console.WriteLine("It will take {0} games until you get that much ip" , formula);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement