square * hollow
題目說明
請輸入一整數後,輸出相對應編長的*(空心的)
輸入值均>0
輸入
整數
輸出
相對應邊長的正方形*(空心)
sample input1
3
sample output1
***
* *
***
sample input2
5
sample output2
*****
* *
* *
* *
*****
請輸入一整數後,輸出相對應編長的*(空心的)
整數
相對應邊長的正方形*(空心)
3
***
* *
***
5
*****
* *
* *
* *
*****
Comments