*
* * * * * * * * * * * * * *package prepare1;public class Test { public static void main(String args[]) { for(int i = 1;i<=5 ;i++) { for(int j = 1;j<=i;j++) { System.out.print("* ");//注意这里没有ln } System.out.println(); }System.out.println(); }}
本文共 308 字,大约阅读时间需要 1 分钟。
*
* * * * * * * * * * * * * *package prepare1;public class Test { public static void main(String args[]) { for(int i = 1;i<=5 ;i++) { for(int j = 1;j<=i;j++) { System.out.print("* ");//注意这里没有ln } System.out.println(); }System.out.println(); }}
转载于:https://www.cnblogs.com/ssC2H4/p/8530683.html