Guest User

Untitled

a guest
Feb 16th, 2020
96
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2.  
  3. namespace _15._02._2020
  4. {
  5. class Program
  6. {
  7. static void Main(string[] args)
  8. {
  9. int a = int.Parse(Console.ReadLine());
  10. if (a == 1)
  11. {
  12. Console.WriteLine("one");
  13. }
  14. else if (a == 2)
  15. {
  16. Console.WriteLine("two");
  17. }
  18. else if (a == 3)
  19. {
  20. Console.WriteLine("three");
  21. }
  22. else if (a == 4)
  23. {
  24. Console.WriteLine("four");
  25. }
  26. else if (a == 5)
  27. {
  28. Console.WriteLine("five");
  29. }
  30. else if (a == 6)
  31. {
  32. Console.WriteLine("six");
  33. }
  34. else if (a == 7)
  35. {
  36. Console.WriteLine("seven");
  37. }
  38. else if (a == 8)
  39. {
  40. Console.WriteLine("eight");
  41. }
  42. else if (a == 9)
  43. {
  44. Console.WriteLine("nine");
  45. }
  46. else if (a == 10)
  47. {
  48. Console.WriteLine("number too big");
  49. }
  50. }
  51. }
  52. }
RAW Paste Data