作业帮 > 综合 > 作业

c语言:用数组求最大值、最小值、平均值、中下标为偶数的元素和

来源:学生作业帮 编辑:拍题作业网作业帮 分类:综合作业 时间:2024/04/30 10:04:47
c语言:用数组求最大值、最小值、平均值、中下标为偶数的元素和
#include "stdio.h"
void main()
{int a[10],max,min,i,j,n,s=0;
float ping=0,he;
for(i=0;i
#include "stdio.h"
void main()
{
int a[10],max,min,i,j,n,s=0;
float ping=0,he=0;
for(i=0;i