Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Console.Write("Podaj %: ");
- int a = Convert.ToInt32(Console.ReadLine());
- if (a >= 100)
- Console.WriteLine("Dostajesz 6.");
- if (a >= 90 && a < 100)
- Console.WriteLine("Dostajesz 5.");
- if (a >= 75 && a < 90)
- Console.WriteLine("Dostajesz 4.");
- if (a >= 60 && a < 75)
- Console.WriteLine("Dostajesz 3.");
- if (a >= 50 && a < 60)
- Console.WriteLine("Dostajesz 2.");
- if (a < 50)
- Console.WriteLine("Dostajesz 1.");
- Console.ReadLine();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement