实现代码:
package Java_005利用程序输出图形;
public class main{
public static void main(String[] args){
System.out.println("output:");
for (int i=1; i<=13; i+=2){
for(int j=1; j<=i && i+j<= 14; j++){
System.out.print("* ");
}
System.out.println();
}
}
}