ss123456789qwer @ 2024-10-15 17:55:54
#include <stdio.h>
int main(void)
{
int n=3;
int i;
int age,sum=0;
double c=0.0;
for(i=0;i<n;i++){
scanf("%d",&age);
if(age>=15&&age<=25){
sum=sum+age;
c++;
}
}
double b;
b=sum/c;
printf("%0.2f",b);
return 0;
}
by diyuetian @ 2024-10-15 17:58:40
可以,但是全WA
by New__bee @ 2024-10-15 17:59:04
可以提交啊
by Grammar__hbw @ 2024-10-15 18:05:39
@ss123456789qwer “提交失败 提交过于频繁”
唯一的可能性