返回列表 發帖
  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;

  4. int main(){
  5.     string name="羅紹齊",school="高雄高工";
  6.     string age="16歲";
  7.     string height="177.3公分",weight="74.6公斤";  
  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

返回列表