对一维数组进行比较大小及公式的输出!

对一维数组进行比较大小及公式的输出! #include <math.h> #include <stdio.h> void main(){ int i,k; float a[12]={1.0,15.5,9.5,-23.0,8.4,66.5,7.1,22.0,54.5,-34.0,11.3,32.5}; printf("最大值为:%.1f\n",a[0]);
相关文章
相关标签/搜索