题解 | 及格分数
及格分数
https://www.nowcoder.com/practice/56513524333148b38945e1989bc7df4e
#include <stdio.h> int main() { int score = 0; while (scanf("%d",&score) != EOF) { if (score >= 60) printf("Pass\n"); else printf("Fail\n"); //return 0;//return 0 你写在while循环里面 就废了 只有一个结果打印,不能打印多组结果 } return 0; }