C++Day1

使用3個用戶定義的函數包括main(),並生成下面的輸出,其中 一個調用兩次,生成前兩行,另外一個調用兩次,生成後兩行。ide

there blind mice函數

there blind micespa

see how they runit

see how they runclass


程序以下:程序

int mice();tab

int run();di


int main()view

{vi

mice();

mice();

run();

run();

return 0;


}


int mice()

{

cout<<"there blind mice"<<endl;

return 0;


}


int run()

{

cout<<"see how they run"<<endl;

return 0;

}

相關文章
相關標籤/搜索