1-1 欢迎来的C++世界
Time Limit: 1000MS
Memory Limit: 65536KB
Problem Description
C++的输出方法
VC++开发环境,创建一个控制台应用程序,利用C++无
Output
13行,34个*,组成边框的形状,第三行Welcome to ;从第五到第十一行输出的形状C++!”的图形。
Example Input
Example Output
********************************** * * * Welcome to * * * * *** * * * * * * * * * * * * * * * *** *** * * * * * * * * * * * * * *** * * * * **********************************
Code realization
#include <iostream>
using namespace std;
int main()
{
cout <<"**********************************"<< endl;
cout <<"* *"<<endl;
cout<<"* Welcome to *"<<endl;
cout<<"* *"<<endl;
cout<<"* *** * *"<<endl;
cout<<"* * * * *"<<endl;
cout<<"* * * * * *"<<endl;
cout<<"* * *** *** * *"<<endl;
cout<<"* * * * * *"<<endl;
cout<<"* * * *"<<endl;
cout<<"* *** * *"<<endl;
cout<<"* *"<<endl;
cout<<"**********************************"<<endl;
return 0;
}