返回列表 發帖
  1. #include<iostream>
  2. using namespace std;
  3. int main()
  4. {
  5.   int x;
  6.   cout<<"請輸入你的分數:"<<endl;
  7.   cin>>x;

  8.   if(x==100)
  9.   {
  10.      cout<<"神人!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"<<endl;     
  11.    }
  12.   else if(x>=60 && x<100)
  13.   {
  14.     cout<<"還不錯!目標100"<<endl;   
  15.   }
  16.   else if(x<60 && x>=0)
  17.   {
  18.     cout<<"來人阿!拖出去斬了"<<endl;  
  19.   }
  20.    else
  21.    {
  22.      cout<<"保全!來抓人"<<endl;  
  23.    }
  24.    
  25.    
  26.   
  27.   system("pause");
  28.   return 0;   
  29.    
  30. }
複製代碼

TOP

返回列表