*题目:编写一个C++程序,它要求使用3个自定义函数(包括main()函数)
并生成下面的输出:
Three blind mice
Three blind mice
See how they run
See how they run
其中一个函数要调用两次,该函数生成前两行,另一个生成后两行*/
#include <iostream>
using namespace std;
void show1()
{
cout << "Three blind mice" << endl;
}
void show2()
{
cout << "See how they run" << endl;
}
int main()
{
show1();
show1();
show2();
show2();
system("pause");
return 0;
}
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)