Practice - 2 "Chess and chess players." Conditional operator




Task
Time limit: 1000 ms,
Memory limit: 256 Mb

Under the new rules, chess players who wish to take part in competitions must register through a special form. In the starting list, chess players are indicated in descending order of their international rating. In the first ten minutes after the registration was opened, data were received from three chess players. The tournament secretary decided to find out if the chess players registered in the ascending order of their ratings or not.
Write a program that will determine whether participants are registered in ascending order of rating or not.
Input: Three numbers are input, separated by a space
Output: The phrase "on growth!" Must be displayed if the ratings are entered in ascending order, or the message "dont on growth!" If they are entered in a different order

Example 1
Input
1650 1700 1720
Output
on growth!

Example 2
Input
1750 1700 1720
Output
dont on growth!

Auto CHOOSE THE PROGRAMMING NECESSARY LANGUAGE!
Attach the program source file:
or enter the source code in the language:

Rules for designing programs and a list of errors during automatic task verification
           

Results: