237
314
2万
管理员
#include <iostream> using namespace std; int main() { int a; int x; while (true) { cout<<"请输入数字"<<endl; cin>>a; if (a<60) { cout<<"不及格"<<endl; } else if(a<80) { cout<<"良好"<<endl; } else { cout<<"优秀"<<endl; } } return 0; }
使用道具 举报
本版积分规则 发表回复 回帖后跳转到最后一页