#include<bits/stdc++.h>
using namespace std;
int main()
{
float x;
do{
cin>>x;
}
while(x<0||x>100);{
cout<<"成绩:"<<x<<endl;
}
return 0;
}
3166:练27.3 称心如意
最新推荐文章于 2024-07-25 11:27:31 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
#include<bits/stdc++.h>
using namespace std;
int main()
{
float x;
do{
cin>>x;
}
while(x<0||x>100);{
cout<<"成绩:"<<x<<endl;
}
return 0;
}