返回列表 發帖
  1. #include<iostream>        //
  2. #include<cstdlib>        //
  3. using namespace std;
  4. int main()//
  5. {
  6.         string name = "leo";
  7.         string schoo = "勝利國小" ;
  8.         int ago = 11 ;
  9.         float height=153.0;
  10.     float weight=40.0;

  11.     cout<<"我的大名"<<name<<endl;
  12.     cout<<"就讀國小"<<schoo<<endl;
  13.     cout<<"身高"<< height<<"公分"<<endl;
  14.         cout<<"體重"<<weight<<"公斤"<<endl;
  15.         system("pause");
  16.         return 0;
  17. }
複製代碼

TOP

返回列表