Home | Looking for something? Sign In | New here? Sign Up | Log out

Kamis, 03 Juni 2010

Looping Java (bintang bersusun)

Kamis, 03 Juni 2010
class ulang3{
public static void main(String[]args){
for(int i=1;i<10;i++){
for(int j=i;j>0;j--){
System.out.print("*");}
System.out.println();
}
}
}

0 komentar:

:10 :11 :12 :13
:14 :15 :16 :17
:18 :19 :20 :21
:22 :23 :24 :25
:26 :27 :28 :29
:30 :31 :32 :33
:34 :35 :36 :37
:38 :39 :40 :41
:42 :43 :44 :45

Posting Komentar