Greatest of three numbers
Submissions: 2827   Accuracy:

50.21%

  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


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

to report an issue on this page.