Advertisement
Guest User

Untitled

a guest
Oct 17th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace ConsoleApp1
  8. {
  9. class Program
  10. {
  11. static void Main(string[] args)
  12. {
  13. int m = int.Parse(Console.ReadLine());
  14. if (m<3)
  15. { Console.WriteLine("Зима"); }
  16. else
  17. { if (m<6)
  18. { Console.WriteLine("Весна"); }
  19. else
  20. {
  21. if (m<9)
  22. { Console.WriteLine("Лето"); }
  23. else
  24. {if (m==12)
  25. { Console.WriteLine("Зима"); }
  26. else
  27. { Console.WriteLine("Осень"); }
  28. }
  29. }
  30. }
  31. Console.ReadLine();
  32.  
  33. }
  34. }
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement