Conditional operator




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

Two numbers are given. Display the first one if it is greater than the second and both numbers if it is not.

Input: 2 integers are entered from the keyboard

Output: it is necessary to output the first number if it is more than the second, or to output both of these numbers if the first number is not more than the second

Examples
№  Input Output
1 5 3 5
2 3 5 3 5

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: