返回列表 發帖
回復 2# 劉漢文
  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<<endl;  

  12.   cout<<"y的直:"<<x<<endl;  

  13. system("pause");

  14. return 0;   

  15.    

  16. }
複製代碼

TOP

返回列表