题解 | #成绩输入输出#
成绩输入输出
https://www.nowcoder.com/practice/eb49750ef0de47168c21761de086d97c
#include <stdio.h> int main() { int a,b,c; scanf("%d%d%d\n",&a,&b,&c); if(a>=0&&a<=100&&b<=100&&b>=0&&c>=0&&c<=100) { printf("score1=%d,score2=%d,score3=%d\n", a,b,c); } else { printf("error"); } return 0; }