-->
当前位置:首页 > 题库

PROGRAMMING:The maximum value of each row and the sum of each row in a two-dimensional array

Luz5年前 (2021-05-10)题库438
Find the maximum value of each row and the sum of each row in a 3 * 3 two-dimensional array.
###Input format:
Enter nine integers less than 100 in a row, separated by a space
###Output format:
Output three rows and three columns of two-dimensional array, and output the maximum value of each row and the sum of elements of each row after each row, and each data output occupies four columns.
###Input example:
```in
3 6 5 9 8 2 1 4 5
```
###Output example:
```out
3 6 5 6 14
9 8 2 9 19
1 4 5 5 10
```






answer:If there is no answer, please comment