题解 | #及格分数#
及格分数
https://www.nowcoder.com/practice/56513524333148b38945e1989bc7df4e
#include <stdio.h>
int main() {
int score;
while(scanf("%d",&score) !=EOF) //多组输入时 scanf("%d",&score); while(score !=EOF) 不可以
{
if(score>=60)
{
printf("Pass\n");
}
else
{
printf("Fail\n");
}
}
return 0;
}
