答案

 •  10个月前


include <stdio.h>

int main() {

int a[11], n, count = 0;
for (int i = 0; i < 10; i++) {
	scanf("%d", &a[i]);
}
scanf("%d", &n);
n = n + 30;
for (int i = 0; i < 10; i++) {
	if (a[i] <= n) {
		count++;
	}
}
printf("%d", count);
return 0;

}


评论:

请先登录,才能进行评论