C++ Operators (Relational) | Set 2
Submissions: 2879   Accuracy:

36.38%

  Difficulty: School   Marks: 0
*School Problem's Submission isn't counted in score!

Given two numbers you will have to check whether the first number is greater than or less than or equals to the second number.

Input: 
First line of input contains an integer T, which denotes the number of test cases. First line of each test case contains two space separated integers A and B.

 

Output:
If A > B then print "A is greater than B" without quotes
If A < B then print "A is less than B" without quotes
if A = B then print "A is equals to B" without quotes


Constraints:
1<=T<=100
1<=A<=100
1<=B<=100


Example:
Input:
3
2 5
6 3
3 3

Output:

2 is less than 5
6 is greater than 3
3 is equals to 3

** For More Input/Output Examples Use 'Expected Output' option **

Contributor: Harsh Agarwal
Author: harsh.agarwal0


If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.



Need help with your code? Please use ide.geeksforgeeks.org, generate link and share the link here.


to report an issue on this page.