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;

}

相关文章
相关标签/搜索