-->
当前位置:首页 > 题库

PROGRAMMING:Compare the size of two integers

Luz5年前 (2021-05-10)题库391
Give two positive integers and try to compare their sizes. For example, for integers 123 and 124, 123 is less than 124.
###Input format:
The input contains multiple sets of data. Each group of data is a row, which gives two integers a and B separated by spaces, and the number of digits of each integer is not more than 100.
###Output format:
For each set of inputs, output the following values on a single line: < br/>
If integer a is greater than integer B, output "greater"; < br/>
If integer a is less than integer B, output "less"; < br/>
If two integers are equal, output "equal". < br/>
###Input example:
```in
124 123
123 124
123 123
```
###Output example:
```out
Greater
Less
Equal
```







answer:If there is no answer, please comment