[code] Java While

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

package While;

/**
 *
 * @author FIQI
 */
public class While {
    public static void main(String[] args){
    int n=3;
    while (n<=18)
    {System.out.print(n+", ");n+=3;}
    }
}

0 komentar:

Posting Komentar

: Ayoo sharingg.. :D

Related Posts Plugin for WordPress, Blogger...

Sponsor

Banner

Ayo kita tukar - tukaran banner : my code banner :
ImagineWorld
and my friend :