返回列表 發帖
  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     int a;
  7.     cout<<"請輸入一個整數;";
  8.     cin>>a;
  9.     cout<<"您輸入的數字是"<<a<<endl;
  10.    
  11.     system("pause")
  12.     return0;
  13.    
  14.    
  15.    
  16.    
  17.    
  18.    
  19. }
  20. #include<iostream>
  21. #include<cstdlib>
  22. using namespace std;
  23. int main()
  24. {
  25.     int a;
  26.     cout<<"請輸入一個整數;";
  27.     cin>>a;
  28.     cout<<"您輸入的數字是"<<a<<endl;
  29.    
  30.     system("pause")
  31.     return0;
  32.    
  33.    
  34.    
  35.    
  36.    
  37.    
  38. }
複製代碼

TOP

返回列表