#include
using namespace std;
int main()
{
int l;
cout<<"请输入以long为单位的长度:";
cin>>l;
cout<
3.编写-一个C++程序,它使用3个用户定义的函数( 包括main( )),并生成下面的输出: Three blind mice Three blind mice See-how they run See-how they run 其中一个函数要调用两次,该函数生成前两行:另一个函数也被调用两次,并生成其余的输出。
#include
using namespace std;
void printf1()
{
cout<<"Three blind mice"<
4.编写一个程序,让用户输入其年龄,然后显示该年龄包含多少个月,如下所示: Enter your age: 29
#include
using namespace std;
int main()
{
int time;
cout<<"Enter your age:";
cin>>time;
cout<