Problem3989--【入门】沙漏

3989: 【入门】沙漏

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Submit

Description

younger老师最近在编一个操作系统,正好编到鼠标的繁忙状态,需要一个沙漏符号,正好大家都在学C++,你的任务就是帮younger老师编一个程序打印一个沙漏符号。

Input

一个整数n,符号的行数(保证n是大于1的奇数

Output

沙漏符号,使用“*”打印

Sample Input Copy

5

Sample Output Copy

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

Source/Category