SHARE
TWEET

Untitled

Fend2019 Feb 16th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Program
  2. {
  3. static void Main(string[] args)
  4. {
  5. Console.WriteLine("Уведіть оцінку");
  6. int k = Int32.Parse(Console.ReadLine());
  7. Console.WriteLine("Уведена оцінка: " + k.ToString());
  8. switch (k)
  9.     { case 1:
  10.     case 2: Console.WriteLine("Незадовільно");
  11.     break;
  12.     case 3: Console.WriteLine("Задовільно");
  13.     break;
  14.     case 4: Console.WriteLine("Добре");
  15.     break;
  16.     case 5: Console.WriteLine("Відмінно");
  17.     break;
  18.     default: Console.WriteLine("Помилка"); break;
  19.     }
  20. }
  21. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top