返回列表 發帖
  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.    
  7.     int a,b;
  8.     cout<<"請輸入收縮壓:";
  9.     cin>>b;
  10.     cout<<"請輸入舒張壓:";
  11.     cin>>a;
  12.     if(b<120 && a<80)
  13.     {cout<<"正常!!"<<endl;}
  14.     else
  15.     {cout<<"不正常!!"<<endl;}
  16.     system("pause");
  17.     return 0;
  18.         
  19. }
複製代碼

TOP

返回列表