pernyataan do while


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

package program;

/**
 *
 * @author Administrator
 */
public class PertanyaanDoWhile166 {
    public static void main(String[] args) {
        int jumlah=5;
        do{
            System.out.println("saya sedang belajar Java");
            jumlah--;
        }while(jumlah>=1);
    }
}

0 komentar:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | SharePoint Demo