public static void main(String[] args) {
for (int i = 1; i <= 7; i++) {
for (int j = 7; j >= 2 * i - 1; j--) {
System.out.print("*");
}
System.out.println();
}
for (int i = 1; i <= 7; i++) {
System.out.print("*");
}
System.out.println();
for (int i = 1; i <= 5; i++) {
System.out.print("*");
}
System.out.println();
for (int i = 1; i <= 3; i++) {
System.out.print("*");
}
System.out.println();
for (int i = 1; i <= 1; i++) {
System.out.print("*");
}
}
标签:游戏,TX,积木,int,out,小孩子
From: https://www.cnblogs.com/jiahaozhang/p/16818892.html