Advertisement
1804

Untitled

Jan 25th, 2015
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.62 KB | None | 0 0
  1.             Console.Write("Podaj %: ");
  2.             int a = Convert.ToInt32(Console.ReadLine());
  3.             if (a >= 100)
  4.                 Console.WriteLine("Dostajesz 6.");
  5.             if (a >= 90 && a < 100)
  6.                 Console.WriteLine("Dostajesz 5.");
  7.             if (a >= 75 && a < 90)
  8.                 Console.WriteLine("Dostajesz 4.");
  9.             if (a >= 60 && a < 75)
  10.                 Console.WriteLine("Dostajesz 3.");
  11.             if (a >= 50 && a < 60)
  12.                 Console.WriteLine("Dostajesz 2.");
  13.             if (a < 50)
  14.                 Console.WriteLine("Dostajesz 1.");
  15.             Console.ReadLine();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement