@@ -0,0 +1,507 @@
+package java06;%0A%0Aimport java.util.Scanner;%0A%0Apublic class star02 %7B%0A%0A%09public static void main(String%5B%5D args) %7B%0A%09%09// TODO Auto-generated method stub%0A%09%09Scanner scn = new Scanner(System.in);%0A%09%09System.out.println(%22%E8%AB%8B%E8%BC%B8%E5%85%A5%E6%98%9F%E6%98%9F%E6%95%B8%22);%0A%09%09int num = scn.nextInt();%0A%09%09char star = '*';%0A%09%09for (int i = 1; i %3C= num; i = i + 1) %7B%0A%0A%09%09%09for (int k = 1; k %3C num - i+1 ; k = k + 1) %7B%0A%09%09%09%09System.out.print(%22 %22);%0A%09%09%09%7D%0A%09%09%09for (int j = 1; j %3C= i * 2 - 1; j = j + 1) %7B%0A%09%09%09%09System.out.print(star);%0A%09%09%09%7D%0A%09%09%09System.out.println(%22%22);%0A%09%09%09%0A%09%09%7D%0A%09%7D%0A%7D%0A

Create star02.java