class BintangSegitigaPiramida{
public static void main(String[] args) {
int a,b,c,d;
for(a = 1; a <=10; a++){
for(b = 9; b >= a; b--){
System.out.print(" ");
}
for (c = 1; c <=a; c++){
System.out.print("*");
}
for ( d = 1; d <= a-1; d++){
System.out.print("*");
}
System.out.println();
}
}
}