PROGRAMMING:6-5 finding the sum of elements in each row of matrix
6-5 this problem requires the preparation of procedures 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). Then m lines, each line gives n integers separated by spaces.
###Output format:
Each row outputs the sum of the elements of the corresponding matrix row.
###Input example:
Here is a set of inputs. For example:
```in
3 2
6 3
1 -8
3 12
```
###Output example:
The corresponding output is given here. For example:
```out
nine
-7
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). Then m lines, each line gives n integers separated by spaces.
###Output format:
Each row outputs the sum of the elements of the corresponding matrix row.
###Input example:
Here is a set of inputs. For example:
```in
3 2
6 3
1 -8
3 12
```
###Output example:
The corresponding output is given here. For example:
```out
nine
-7
fifteen
```
answer:If there is no answer, please comment