题目:求一个3*3矩阵主对角线元素之和。
程序分析:利用双重for循环控制输入二维数组,再将a[i][i]累加后输出。
程序源代码:
以上实例输出结果为:
作者:家具家装
https://www.kaliastyle.com/catalogsearch/result/?q=GOOGLE谷歌霸屏业务【tg:seogoogle987】,UKk
https://www.teamlab.art/ko/?submit=谷歌霸屏业务【tg:seogoogle987】,IbP
https://www.goodreads.com/quotes/tag/谷歌霸屏业务【tg:seogoogle987】KFr
https://www.wheels24.gr/?action=CHECK&s=谷歌霸屏业务【tg:seogoogle987】,rM3
https://www.flickr.com/photos/tags/谷歌霸屏业务【tg:seogoogle987】I16
https://www.dba.dk/soeg/?soeg=谷歌霸屏业务【tg:seogoogle987】POF
https://www.takachi-enclosure.com/search?eqYB=gnI31Ou&text=谷歌霸屏业务【tg:seogoogle987】,uUd
https://www.wilsonart.com/catalogsearch/result/?action=CHECK&q=谷歌霸屏业务【tg:seogoogle987】,stu
https://www.localfootdoc.com/?s=谷歌霸屏业务【tg:seogoogle987】,OjX
https://www.pearson.com/en-us/search.html?aq=谷歌霸屏业务【tg:seogoogle987】,aAk