Rabu, 25 Mei 2011

pengulangan 3 kali

public class bansal{
    public static void main(String [] args){
        String kal1="STMIK BANISALEH";
        String kal2="PEMPROGRAMAN";
        int i,j;
        for(i=1;i<=3;i++){
            System.out.println(" ");
            System.out.println(kal1);
            for(j=1;j<=3;j++){
                System.out.println(kal2);
            }
        }
    }
}


Tidak ada komentar:

Posting Komentar

chatme


ShoutMix chat widget