Greatest of three numbers
Submissions: 3294   Accuracy:

49.47%

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

Write a program to find the greatest of the three numbers. 

Input:
First line contains an integer, the number of test cases 'T'. Each test case should contain three positive numbers a,b and c.


Output:
Print maximum of three numbers.


Constraints:
1 <= T <= 100
1 <= a,b,c<= 106

Example:
Input:
1
10 3 2

Output:
10

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

Author: abhiraj26


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.