Minggu, 14 April 2013

Bilangan Genap Dengan While

Nih mas broo Langsung aja.....

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

/**
 *
 * @author acer
 */
public class bilGenapWhile {
    public static void main(String[]args){
        int i=1;
        while(i<=20){
            System.out.println(""+i);
            i++;
        }
    }
}
Share:

0 komentar:

Posting Komentar

Diberdayakan oleh Blogger.

Archive

Labels

My Motto

Labels

Blogger templates