Rabu, 11 Mei 2011

for

public class tugas1
{
    public static void main(String[] args)
    {


        for(int i=2; i<=10; i+=2)
            System.out.println(i+","+"");


}
}

Tidak ada komentar:

Posting Komentar