/* * * * * *
* -* * * *
* -- * * *
* --- * *
* ---- *
* -----
*/
public class IfTest {
public static void main(String [] args){
for(int y=1;y<=x;y++) {//代表的列数
System.out.print("☆");
}
for(int z = x; z<=5;z++){//倒三角形状
System.out.print("* ");
}
System.out.println();
}
}
}