public class Main {
public static void main(String[] args)
{
int num = 10;
// Cmemeriksa positif,negatif atau nol
if (10 > 0) {
System.out.println("Bilangan positif");
}
else if (10 == 0) {
System.out.println("nol");
}
else {
System.out.println("Bilangan negatif");
}
// Checking for odd and even
if (num % 2 == 0) {
System.out.println(num + " genap");
}
else {
System.out.println(num + " ganjil");
}
}
}