PROGRAMMING:Find the sum of elements in each line of matrix
This problem requires the preparation of procedures, the use of pointers to find a given M × N the sum of the elements of each row of the matrix.
###Input format:
Enter the first line to give two positive integers m and n (1 ≤ m, n ≤ 6), and then enter m lines of data, n integers in each line, separated by spaces.
###Output format:
Output m integers, 1 number per line.
###Input example:
```in
2 3
1 2 3
4 5 6
```
###Output example:
```out
six
fifteen
```
answer:If there is no answer, please comment
###Input format:
Enter the first line to give two positive integers m and n (1 ≤ m, n ≤ 6), and then enter m lines of data, n integers in each line, separated by spaces.
###Output format:
Output m integers, 1 number per line.
###Input example:
```in
2 3
1 2 3
4 5 6
```
###Output example:
```out
six
fifteen
```
answer:If there is no answer, please comment