标签:cpp 编程 turn name out c++编程 end cout mes
#include<iostream> using namespace std; int main() { float x; cout<<"请输入成绩:"; do { cin>>x; }while(x<0||x>100); cout<<"成绩:"<<x<<endl; return 0; }
标签:cpp 编程 turn name out c++编程 end cout mes
原文地址:https://www.cnblogs.com/kixiaoyuan/p/12702280.html