Kamis, 29 Agustus 2013

Pembelajaran 3 - Penggunaan IF dalam Java

 <pre class="brush:html">
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Class;

/**
 *
 * @author Trisandiyana
 */
public class For {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here

        for (int i=2; i<=20 ; i++){
            System.out.println("Ini adalah pengulangan dari i " +i);
        }

    }

}
</pre>

Tidak ada komentar:

Posting Komentar