c语言程序设计,关于数组的问题

[复制链接]
查看11 | 回复2 | 2013-7-4 12:45:32 | 显示全部楼层 |阅读模式
#include void main(){int i,num=0;float score[75],avg=0;for(i=0;iavg) num++;printf("平均值:%3.2f 高于平均分人数:%d\n",avg,num);if(num>0){printf("高于平均分人数: ");for(i=0;i<75;i...
回复

使用道具 举报

千问 | 2013-7-4 12:45:32 | 显示全部楼层
写的为程序,可以自己调试下,谢谢#define N 75 int average(float *aver,int *number){
float a[N] = {0.0};
float sum =0;
printf("Enter the chengji:\n");
for(int i = 0;...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行