September 2019 1 188 Report
Mata Pelajaran : TI
Materi : Java

Perhatikan algoritma berikuit!
public class Soal2
{
public static void main(String args[])
{
int i=0;
for( ; i<=9;)
{
if(i % 3 == 0)
{
System.out.println();
}
System.out.println(" " +(++i));
}
System.out.print(" " + i);
}
}

Apa output dari kode diatas jika dijalankan? Mohon penjelasannya. Thx

Recommend Questions



Life Enjoy

" Life is not a problem to be solved but a reality to be experienced! "

Get in touch

Social

© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.