返回列表 發帖
  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;

  4. int main()
  5. {
  6.     int h,i;
  7.    
  8.     cout<<"請輸入h:";
  9.     cin>>h;
  10.     cout<<"請輸入i:";
  11.     cin>>i;
  12.    
  13.     cout<<"h="<<h<<endl;
  14.     cout<<"i="<<i<<endl;
  15.    
  16.     system("pause");
  17.     return 0;
  18. }
複製代碼

TOP

返回列表