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

TOP

返回列表