返回列表 發帖
  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main(){
  5.     string name="羅暐傑", school="高雄美國學校";
  6.     int age=13;
  7.     float height= 172.7, weight=57;
  8.     cout<<"我的大名: "<<name<<endl;
  9.     cout<<"就讀: "<<school<<endl;
  10.     cout<<"今年: "<<age<<"歲"<<endl;
  11.     cout<<"身高: "<<height<<"公分"<<endl;
  12.     cout<<"體重: "<<weight<<"公斤"<<endl;
  13.     system("pause");
  14.     return 0;
  15.     }
複製代碼

TOP

返回列表