题解 | #及格分数#
及格分数
https://www.nowcoder.com/practice/56513524333148b38945e1989bc7df4e
#include <stdio.h> int main() { int score = 0; while (1 == scanf("%d", &score)) { printf("%s\n", (score >= 60 ? "Pass" : "Fail")); } return 0; }
及格分数
https://www.nowcoder.com/practice/56513524333148b38945e1989bc7df4e
#include <stdio.h> int main() { int score = 0; while (1 == scanf("%d", &score)) { printf("%s\n", (score >= 60 ? "Pass" : "Fail")); } return 0; }
相关推荐