#include #define N 3void main(){int i,j,a[N][N],s=0;for(i=0;ifor(j=0;j{scanf("%d",&a[i][j]);if(i==j||(i+j==N-1&&i!=j)) s+=a[i][j];}printf("对角线之和= %d",s);}