1-1 欢迎来的C++世界

来源:互联网 发布:大数据细分领域 编辑:程序博客网 时间:2024/05/17 23:19

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           **                                **       ***               *      **      *   *              *      **      *       *     *    *      **      *      ***   ***   *      **      *       *     *    *      **      *   *                     **       ***               *      **                                ***********************************

Hint


#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;}