Guest User

Untitled

a guest
Nov 14th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. static void Main(string[] args)
  2. {
  3. int rost;
  4. Console.WriteLine("KOKOJ U TEBJA ROST");
  5. rost = Convert.ToInt32(Console.ReadLine());
  6. if (rost >= 180)
  7. {
  8. Console.Write("bolshoj");
  9.  
  10. }
  11.  
  12. if ( rost <= 179 )
  13. {
  14. Console.Write("srednij");
  15. }
  16. if (rost < 60 )
  17. {
  18. Console.Write("malemkij");
  19. }
  20.  
  21. if (rost < 60 )
  22. {
  23. Console.Write("malemkij");
  24. }
  25. else if ( rost <= 179 )
  26. {
  27. Console.Write("srednij");
  28. }
  29. else //if (rost >= 180)
  30. {
  31. Console.Write("bolshoj");
  32. }
Add Comment
Please, Sign In to add comment