Given three numbers, you have to write a function named calcSum which takes these 3 numbers as arguments and returns their sum.
NoteThe Input/Ouput format and Example given are used for system's internal purpose, and should be used by a user for Expected Output only. As it is a function problem, hence a user should not read any input from stdin/console. The task is to complete the function specified, and not to write the full code.
Input: First line of input contains a single integer T which denotes the number of test cases. Then T test cases follow. Each test case consists of a single line which contains three space separated integers A, B, and C.
Output: Corresponding to each test case, output sum of A , B and C in a new line.
1 2 3
5 6 7
2 5 3