- #include<iostream>
- #include<cstdlib>
- using namespace std;
- int main()
- {
- int score;
- re:
- cout<<"enter your score: ";
- cin>>score;
- if(score==100)
- cout<<"A++,perfect!!!"<<endl;
- else if(score>=60 && score<100)
- cout<<"B++,nice!"<<endl;
- else if(score>0 && score<60)
- cout<<"C--,see me after class!!!!!!!"<<endl;
- else
- cout<<"lier!!! lier!!!"<<endl;
- goto re;
-
- system("pause");
- return 0;
- }
複製代碼 |