WzzzT @ 2024-07-11 09:52:18
#include <stdio.h>
int main()
{
int apple[10] = {0},tt,n = 0,i,j;
for(i = 0;i<10;i++)
scanf("%d",&apple[i]);
scanf("%d",&tt);
for(j = 0;j<10;j++)
{
if(tt+30>=apple[j])
n++;
}
return n;
}
by qiuribomu @ 2024-07-11 09:58:23
你没给输出,而且return不是输出,是终止一个函数
by qiuribomu @ 2024-07-11 09:59:32
程序私发给你了
by WzzzT @ 2024-07-11 10:10:08
@qiuribomu 谢谢谢谢