/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Kelipatan3;
/**
*
* @author KIREINA
*/
public class Kelipatan3 {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
int[] kelipatan3= new int[9];
int index=0;
System.out.println(“Kelipatan 3 mulai 1 sampai 25 :”);
for(int i=1;i<=25;i+=3){
kelipatan3[index]=i;
System.out.print(kelipatan3[index]+" ");
index++;
}
System.out.println("");
}
}