Print Star Pattern


Submit solution

Points: 50 (partial)
Time limit: 1.0s
Memory limit: 64M

Authors:
Problem type

題目說明

請撰寫一個 Java 程式,使用 System.out.println() 方法,在控制台輸出以下的形狀,前後沒有空白行。

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

輸入

本題無需輸入。

輸出

輸出如題目說明中所示的形狀。

範例輸出

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

Comments

There are no comments at the moment.