Write a program that reads several pairs of numbers and prints if they are in strict increasing order. In other words, if the second number is greater than the first.
Input will consist of several lines each with a pair of numbers x and y where -1 000 000 000 ≤ x, y ≤ 1 000 000 000. Input is terminated by the end-of-file (EOF).
For each line of input,
output should contain a single line with either Yes
or No
indicating whether x < y.
1 3
10 9
-31337 -1337
Yes
No
Yes
try also: oddeven
Copyright © 2020-2022 Rudy Matela
This text is available under the CC BY-SA 4.0 license.
Originally available on cscx.org/order