输入20个实数存放在一维数组中,输出它们的平均值以及高于平均值的数的个数。 输入格式: scanf("%f",&a[i]); 输出格式: printf("The average=%fn",ave); printf("The num is %dn",n); 输入样例: 20 30 50 30 20 输出样例: The average=30.000000 The num is 1

时间:2023-12-13 20:20:37

相似题目