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

TOP

  1. #include<iostream>
  2. using namespace std;
  3. int main()
  4. {
  5.     cout<<"我"<<endl<<"愛"<<endl<<"c"<<endl<<"+"<<endl<<"+" ;
  6.     system("pause");
  7.     return 0;
  8. }
複製代碼

TOP

返回列表