uts_nomor_2

public class uts_nomor_2 {

public static void main(String[] args) {
for (int j=1;j<=100;j++) {
System.out.print(+j+", ");
if (j%15 == 0) {
System.out.print("STTP, ");
}else if (j%5 == 0) {
System.out.print("POMOSDA, ");
}else if (j%3 == 0) {
System.out.print("STT, ");
}

}
}

}

0 komentar:

Posting Komentar

 
 
 

Total Tayangan Unique

Follow SabakuNoNara on Twitter
Powered By Blogger