打印三角形
//打印三角形 5行标签:14,Day03,打印,System,int,print,三角形,out From: https://www.cnblogs.com/Iwtr/p/17542037.html
for (int i = 1;i <=5;i++){
for (int j = 5;j >= i;j--){
System.out.print(" ");
}
for (int j = 1;j <= i;j++){
System.out.print("*");
}
for (int j = 1;j < i;j++){
System.out.print("*");
}
System.out.println();
}
// *
// ***
// *****
// *******
// *********