while (score>100||score<0){printf("\n输入有误,请重输“);scanf("%f",&score);}
一直输入,再输出,如果score大于100或小于0,就输出输入有误,请重输