- #include<iostream>
- #include<cstdlib>
- using namespace std;
- int main()
- {
- string name="蘇詠翔", school="師大附中";
- int age=13;
- float x=151.1,y=32.4;
- cout<<"我的大名"<<name<<endl;
- cout<<"就讀"<<school<<endl;
- cout<<"今年"<<age<<"歲"<<endl;
- cout<<"體重"<<y<<"公斤"<<endl;
- cout<<"身高"<<x<<"公分"<<endl;
- system("pause");
- return 0;
- }
複製代碼 |