int x,y,sum=0; int a[4][4]={{10,9,3,8},{4,7,12,5},{11,15,2,9},{2,4,6,8}};for(x=0;x

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/24 11:47:43
int x,y,sum=0; int a[4][4]={{10,9,3,8},{4,7,12,5},{11,15,2,9},{2,4,6,8}};for(x=0;x
x)+QЩ).͵5VqMbȶ@RXǢVD\H44141ұtLt̀ j4*FT$X;jy5Eg3?z6u-Ov}lN'PŢզϦny9s P)PiׂsV

int x,y,sum=0; int a[4][4]={{10,9,3,8},{4,7,12,5},{11,15,2,9},{2,4,6,8}};for(x=0;x
int x,y,sum=0; int a[4][4]={{10,9,3,8},{4,7,12,5},{11,15,2,9},{2,4,6,8}};for(x=0;x

int x,y,sum=0; int a[4][4]={{10,9,3,8},{4,7,12,5},{11,15,2,9},{2,4,6,8}};for(x=0;x
程序的功能是把数组中所有能被5整除的数加在一起.据观察,能被5整除的数有3个:10,5和15,所以sum=30