返回列表 發帖
本帖最後由 蔡季樺 於 2015-9-17 20:30 編輯
  1. #include<iostream>  
  2. #include<cstdlib>  
  3. using namespace std;  
  4. int main()
  5. {
  6.       int age=56,money=83,height=188,weight=59;
  7.       string born="1955年2月24日",dead="2011年10月5日(56歲)",name="賈伯斯";
  8.       string Englishname="Steve Jobs",causeofdeath="轉移性胰腺神經內分泌腫瘤";
  9.       cout<<"他的大名:"<<name<<endl;
  10.       cout<<"他的英文大名:"<<Englishname<<endl;
  11.       cout<<"他的身高:"<<height<<"公分"<<endl;
  12.       cout<<"他的體重:"<<weight<<"公斤"<<endl;
  13.       cout<<"他的年齡:"<<age<<"歲"<<endl;
  14.       cout<<"他的淨資產:"<<money<<"億"<<endl;
  15.       cout<<"生日:"<<born<<endl;
  16.       cout<<"逝世:"<<dead<<endl;
  17.       cout<<"死因:"<<causeofdeath<<endl;
  18.       system("pause");  
  19.       return 0;   
  20. }
複製代碼

TOP

返回列表