Problem1071--【入门】字符图形7-星号菱形

1071: 【入门】字符图形7-星号菱形

Time Limit: 1.000 Sec  Memory Limit: 16 MB
Submit: 35  Solved: 31
[Submit] [Status] [Web Board] [Creator:][下载测试数据]

Description

输入一个整数打印字符图形

Input

一个整数(0<N<10)

Output

一个字符图形,如输入2,则产生5行的菱形:

□□×

□×××

×××××

□×××

□□×


Sample Input

2

Sample Output

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

Source/Category


[Submit] [Status]