Perulangan - For

,
public class Perulangan1 {
public static void main (String [] args) {
for (int i = 0; i <=10; i++) {
for (int j=i; j<=10; j++) {
System.out.print ("*");
}
System.out.println ();
}
}
}

1 comments:

Anonim mengatakan...

trus hasilnya gimana tuh? kok ga dikasih gambar?