输入一个正整数n(0<n<=10),再输入n个学生的身高,统计学生的平均身高(小数点保留两位)以及身高在平均身高以下学生的人数
include int main() { int count,i,n; double grade, total; printf("Enter n:\n"); scanf("%d",&n); total = 0; ____; for (i = 1;i<= n; i++) { printf("Enter grade #%d:",i); scanf("%lf", &grade); total = total + grade; if() count++; } printf("Grade average = %.2f\n", total/n); printf("Number of failures = %d\n", count); return 0; }
请问要怎么修改?