No3 Desi

Run Settings
LanguageJava
Language Version
Run Command
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner angka = new Scanner(System.in); System.out.println("Masukkan angaka berapa saja: "); int a = angka.nextInt (); if (a%2 == 0) { System.out.println("Angka ini genap"); } else { System.out.println("Angka ini Ganjil"); } } }
Editor Settings
Theme
Key bindings
Full width
Lines