Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Program
- {
- static void Main(string[] args)
- {
- Console.WriteLine("Уведіть оцінку");
- int k = Int32.Parse(Console.ReadLine());
- Console.WriteLine("Уведена оцінка: " + k.ToString());
- switch (k)
- { case 1:
- case 2: Console.WriteLine("Незадовільно");
- break;
- case 3: Console.WriteLine("Задовільно");
- break;
- case 4: Console.WriteLine("Добре");
- break;
- case 5: Console.WriteLine("Відмінно");
- break;
- default: Console.WriteLine("Помилка"); break;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement