admin管理员组

文章数量:1794759

编写程序,打印输出下面图形

编写程序,打印输出下面图形

package p1;

public class test3 {     public static void main(String[] args) {         for(int row = 0;row<5;row++) {             for(int star = 1;star<=row+1;star++) {                 System.out.print("*");             }             System.out.println();         }     }

}

本文标签: 图形程序