返回列表 發帖
  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     string name="蒙鎧柔",school="龍華國中";
  7.     int age=14 ;
  8.     float h=158 ,w=40.1 ;
  9.     cout<<"name:"<<name<<endl;
  10.     cout<<"school:"<<school<<endl;
  11.     cout<<"age:"<<age<<" years old"<<endl;
  12.     cout<<"high:"<<h<<" cm"<<endl;
  13.     cout<<"weight:"<<w<<" kg"<<endl;
  14.     system("pause");
  15.     return 0;
  16. }
複製代碼

TOP

返回列表