import java.util.*;
public class kondisi {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int a;
System.out.print("Masukan angka : ");
a = input.nextInt();
if (a%2==0)
System.out.print("DE");
if (a%4==0)
System.out.print("JA");
if (a%8==0)
System.out.print("VU");
System.out.println("\n\n");
}
}
Tidak ada komentar:
Posting Komentar
Please Leave Your Comment :)