返回列表 發帖
#include<iostream>
#include<cstdlib>
using namespace std;
int main()
{
  int number=0;
  string str="";
  float flo=0;
  cin>>number;
  cout<<number<<endl;

  cout<<str<<endl;
  system("pause");
  return 0;

TOP

  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.      cout<<"尤靖瑗"<<endl;
  7.    
  8.      int number = 0;
  9.      string str = "";
  10.      cin >> number;
  11.      cout<<"你輸入的數字是"<<number<<endl;
  12.       system("pause");
  13.      return 0;
  14.          
  15. }
複製代碼

TOP

  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout<<"hi87"<<endl;
  7.     int number = 10;
  8.     cout<<number<<endl;
  9.     cout<<number<<endl;
  10.     system("pause");
  11.     return 0;
  12. }
複製代碼

TOP

  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6. cout<<"555555"<<endl;
  7. int number = 10;
  8. cin>>number;
  9. cout<<number<<endl;
  10. cout<<"你輸入的文字是:"<<number<<endl;


  11. system("pause");
  12. return 0;      
  13.          
  14.          
  15. }
複製代碼

TOP

返回列表