2650 - 打印下面的字符图形

通过次数

0

提交次数

0

时间限制 : 1 秒 内存限制 : 128 MB

打印下面的字符图形

*****

 
   

 
*

</p>

题目输入

题目输出

**
 
   
 
***

输入/输出样例

输入格式

no input needed

输出格式

*****
 *** 
  *  
 *** 
*****

C++解答

#include<iostream>
using namespace std;
int main()
{
	cout<<"*****"<<endl;
	cout<<" *** "<<endl;
	cout<<"  *  "<<endl;
	cout<<" *** "<<endl;
	cout<<"*****"<<endl;
	return 0;
}