返回列表 發帖
  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     int x;
  7.     int y;
  8.     cout<<"請輸入x的值: ";
  9.     cin>>x;
  10.     cout<<"請輸入y的值: ";
  11.     cin>>y;
  12.     cout<<"x="<<x<<endl;
  13.     cout<<"y="<<y<<endl;   
  14.     system("pause");
  15.     return 0;
  16. }
複製代碼
回復 1# tonyh

TOP

返回列表