高级语言程序设计1实验 6 一维数组和二维数组NAME: Gongsui1.已知一个数组有 10 个元素,值分别是 3,6,8,4,5,66,80,72,69,70。编程,将数组元素逆置输出。#includemain()int t,i,b10=3,6,8,4,5,66,80,72,69,70;for (i=0;imain()int a30,i,j,t;a0=a1=1;for (i=2;imain()int a44=2,6,7,9,3,5,4,11,12,8,1,13,21,33,64,25,i,j,m;m=0;for (i=0;i2)高级语言程序设计2 for (j=0;jmain()int a44=14,26,18,17,24,37,21,8,19,31,22,16,7,19,14,26,i,j,x,y,m,sum=0;m=a00;for (i=0;iaij) m=aij;x=i;y=j; printf(“%d %dn“,x,y);for (i=0;i4;i+)sum=sum+aii;printf(“%dn“,sum);