Tuesday 26 November 2013

jawaban Tugas Pak Ony

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tugasalens25;

/**
 *
 * @author alens-pc
 */
public class Tugasalens25 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
 
   
     
for(int i=0;i<2;i++){
for(int j=i;j<2;j++){
System.out.println("*");
System.out.print("*");
System.out.println("*");}

}

    {
for(int i=0;i<1;i++){
System.out.println("*");}
}
}
}

0 Komentar: