BETA
School Problem's Submission isn't counted in score!

Submissions: 649 Accuracy:

46.69%

Java if-else (Decision Making)
     

Given two integers,m and n. Your task is to check whether m!=n or m=n.

Input:
First line of input file contains an integer T, denoting the number of test cases. Then T test case follow. First line of each test case contains two integer m and n.(space separated).

Output:
For each test case, Print lesser, greater or equal  for m!=n, or m=n respectively in new line.

Constraints:
1<=T<=10
-100<=m<=100
-100<=n<=100

Example:
Input:
3
4 8
4 4
-2 -5

Output:
lesser
equal
greater

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

Contributor: Gaurav Miglani

Set Default Code

					   
It is recommended to 'Compile & Test' your code before clicking 'Submit'!

Compilation/Execution Result:

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