题解 | #完美成绩#
完美成绩
https://www.nowcoder.com/practice/8312e497509a450f968d9a6a2381ce32
#include <stdio.h> int main() { int a=0; while(scanf("%d",&a)!=EOF); if(a>=90 && a<=100)//&&用来使a括在一定的范围内 { printf("Perfect"); } return 0; }
完美成绩
https://www.nowcoder.com/practice/8312e497509a450f968d9a6a2381ce32
#include <stdio.h> int main() { int a=0; while(scanf("%d",&a)!=EOF); if(a>=90 && a<=100)//&&用来使a括在一定的范围内 { printf("Perfect"); } return 0; }
相关推荐