Given an integer array A of size N. The task is to find sum of it.
The first line of input contains an integer, the number of testcases T. Each testcase should contain an integer, size of array N in the first line. In the second line contains elements of the array in a single line separated by space.
Print the sum in seperate line.
1 <= T <= 30
1 <= N <= 100
1 <= Arr[i] <= 100
1 2 3 4
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.