本帖最後由 梁和雋 於 2014-7-3 17:15 編輯
- #include<iostream>
- #include<cstdlib>
- using namespace std;
- int main()
- {
- int a;
- cout<<"請輸入數字 輸入後請按Enter "<<endl;
- cout<<""<<endl;
- cout<<""<<endl;
- cout<<" sdfsdf "<<endl;
- cout<<" asdf asdf -------- "<<endl;
- cout<<" 1sdfsdf1 ---1 -- "<<endl;
- cout<<" 1 sdfsdf 1 1 --- "<<endl;
- cout<<" 1 sdfsdf 1 ---1 -- "<<endl;
- cout<<" a a -------- "<<endl;
- cout<<" a a "<<endl;
- cout<<" a a "<<endl;
- cout<<" a a "<<endl;
- cin>>a;
- cout<<a<<endl;
- system("pause");
- return 0;
- }
複製代碼 |