- #include<iostream>
- #include<cstdlib>
- using namespace std;
- int main()
- {
- char myName [7] = "謝典育";
- cout <<"我的名字是:"<< myName << endl;
- char birthday [6] = "12/24";
- cout <<"我的生日是:"<< birthday << endl;
- char height [6] = "150.7";
- cout <<"我的身高是:"<< height << endl;
- char kg [5] = "78.6";
- cout <<"我的體重是:"<< kg << endl;
- system("pause");
- return 0;
- }
複製代碼 |