#include "stdio.h" void main() { int score; do { printf("请输入你的成绩(0-100):"); scanf("%d",&score); }while(score<0||score>100); printf("你的成绩为:%d",score); }
#include "stdio.h" void main() { int score; do { printf("请输入你的成绩(0-100):"); scanf("%d",&score); }while(score<0||score>100); printf("你的成绩为:%d",score); }