Given an array of N integers. Your task is to print the sum of all of the integers.
First line of input file contains a single integer T which denotes the number of test cases. For each test case, there will be two lines. First line contains N which denotes number of elements in an array, and second line contains N space seperated integers.
Corresponding to each test case, print the sum of array in a new line.
1 <= T <= 100
1 <= N <= 1000
0 <= Arr[i] <= 200
1 2 3 4
5 8 3 10 22 45
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.