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

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

Time Limit: 1 Sec  Memory Limit: 16 MB
Submit: 3  Solved: 3
[Submit] [Status] [Web Board] [Creator:]

Description

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

Input

一个整数(0<N<10)

Output

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

□□×

□×××

×××××

□×××

□□×


Sample Input

2

Sample Output

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

Source/Category


[Submit] [Status]