返回列表 發帖
  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     int a,b,c;
  7.     cout<<"Please input a number:";
  8.     cin>>a;
  9.     cout<<"Please input another number:";
  10.     cin>>b;
  11.     cout<<"Please input another number again:";
  12.     cin>>c;
  13.     if(!(a>60) && (b>60 || c>80))
  14.     {
  15.     cout<<"Great"<<endl;   
  16.     }else
  17.     {
  18.     cout<<"not great"<<endl;
  19.     }
  20.     system("pause");
  21.     return 0;
  22. }
複製代碼

TOP

返回列表