Associated Course(s):
Fundamentals of Programming with C

Given an integer N. Your task is to check if the integer is greater than, less than or equal to 5.

If the integer is greater than 5, then print "Greater than 5" (without quotes).

If the integer is less than 5, then print "Less than 5".

If the integer is equal to 5, then print "Equal to 5".

**Input:**

First line of input file contains an integer T, denoting the number of test cases. For each test case, there will be one line. The only line contains the integer N.

**Output:**

Print in a new line "Greater than 5" if the integer is greater than 5 or "Less than 5" if the integer is less than 5 otherwise print "Equal to 5" if the integer is equals to 5.

**Constraints:**

1 <= T <= 110

1 <= N <= 100

**Example:**

**Input:**

3

8

4

5

**Output:**

Greater than 5

Less than 5

Equal to 5

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.

hardikJain5 | 258 |

CodeBuddy | 250 |

bhatabhi554 | 232 |

Akkki111 | 197 |

clone | 174 |

KshatriyaYash | 1932 |

nikhil_sojan | 1374 |

lonecoder | 1236 |

SumitSingh27 | 1127 |

mazumderrohit8 | 1124 |

blackshadows | 5327 |

Ibrahim Nash | 5219 |

akhayrutdinov | 5111 |

mb1973 | 4591 |

Quandray | 4444 |

Login to report an issue on this page.