Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void Main(string[] args)
- {
- int rost;
- Console.WriteLine("KOKOJ U TEBJA ROST");
- rost = Convert.ToInt32(Console.ReadLine());
- if (rost >= 180)
- {
- Console.Write("bolshoj");
- }
- if ( rost <= 179 )
- {
- Console.Write("srednij");
- }
- if (rost < 60 )
- {
- Console.Write("malemkij");
- }
- if (rost < 60 )
- {
- Console.Write("malemkij");
- }
- else if ( rost <= 179 )
- {
- Console.Write("srednij");
- }
- else //if (rost >= 180)
- {
- Console.Write("bolshoj");
- }
Add Comment
Please, Sign In to add comment