Hey, I tried to make an if statement just to practice (I know I’m a noob) and the else statement keeps bugging out, Help!
public class integer {
public static void main(String[] args) {
int boy, girl;
boy = 18;
girl = 68;
if(boy > 10); {
System.out.println("You can enter");
}else{
System.out.println("You are too young");
}
}
}