close

//---------------------------------------------------------------------------
/*********************************************************
練習4-1:寫一個程式印出你的姓名、身分證號碼和出生日期    *
*********************************************************/
#include <iostream>

//---------------------------------------------------------------------------

int main(int argc, char* argv[])
{
        std::cout << "My name is Jumbo " << "\n"
                       << "My ID number is S123456789 " << "\n"
                       << "My birth day is 1986/06/01 " << "\n";
        std::system("pause");
        return 0;
}
//---------------------------------------------------------------------------


題目來源:C++風格與藝術 第二版 Steve Oualline 著 黃吉霈 編譯
答案來源:自我撰寫(不保證正確喔)


arrow
arrow
    全站熱搜
    創作者介紹
    創作者 jumbowind 的頭像
    jumbowind

    Quality of life is not what you get but what you become

    jumbowind 發表在 痞客邦 留言(0) 人氣()