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.");
- else
- if (a >= 90)
- Console.WriteLine("Dostajesz 5.");
- else
- if (a >= 75)
- Console.WriteLine("Dostajesz 4.");
- else
- if (a >= 60)
- Console.WriteLine("Dostajesz 3.");
- else
- if (a >= 50)
- Console.WriteLine("Dostajesz 2.");
- else
- Console.WriteLine("Dostajesz 1.");
- Console.ReadLine();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement