#2513. C语言程序设计教程(第三版)课后习题7.3
C语言程序设计教程(第三版)课后习题7.3
Cannot parse: Cannot read properties of null (reading 'length')
C语言程序设计教程(第三版)课后习题7.3
题目描述
求一个3×3矩阵对角线元素之和。
输入说明
矩阵
输出说明
主对角线 副对角线 元素和
样例
输入
1 2 3
1 1 1
3 2 1
输出
3 7
Cannot parse: Cannot read properties of null (reading 'length')
求一个3×3矩阵对角线元素之和。
矩阵
主对角线 副对角线 元素和
1 2 3
1 1 1
3 2 1
3 7