import java.util.*;
public class segitiga3 {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int a,b,c,d,e;
System.out.print("Masukan Angka : ");
a = input.nextInt();
e=a;
for(b=1;b<=a;b++)
{
for(d=e;d>=1;d--)
{
System.out.print(" "); //
}
for(c=1;c<=b;c++)
{
System.out.print("* ");
}
e=e-1;
System.out.println("");
}
System.out.println("\n\n");
}
}
Jumat, 15 November 2013
Langganan:
Posting Komentar (Atom)
1 komentar:
cheap jordans
air jordan
cheap jordans
hogan outlet online
hermes belt
supreme new york
fitflops sale clearance
converse outlet
kyrie irving shoes
off white shoes
Posting Komentar
Please Leave Your Comment :)