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 ();
}
}
}
Langganan:
Posting Komentar (Atom)
1 comments:
trus hasilnya gimana tuh? kok ga dikasih gambar?
Posting Komentar