printf("所有数之和为%d\n",sum);}
printf("第%d行所有数的和为:%d\n",i+1,num[i][0]+num[i][1]+num[i][2]);for(i=0;i<3;i++)printf("第%d列所有数的和为:%d\n",i+1,num[0][i]+num[1][i]+num[2][i]+num[3][i]);for(i=0;i<4;i++)for(j=0;j<3;j++)sum+=num[i][j];printf("所有数...