- #include <iostream>
- #include <cstdlib>
- using namespace std;
- int main()
- {
- string name = "陳沁寧" , school = "復華國中";
- int age = 13;
- float h = 160.5 , w = 40.5;
- cout << "我的名字:" << name << endl;
- cout << "目前就讀:" << school << endl;
- cout << "年紀:" << age << "歲" << endl;
- cout << "身高:" << h << "公分" << endl;
- cout << "體重:" << w << "公斤" << endl;
- system("pause");
- return 0;
- }
複製代碼 |