8. If-Elself-Else help

int round;

if (round > 12) {

	System.out.println("The match is over!");

} else if (round < 0) {

	System.out.println("The match is underway!");

}	else {

	System.out.println("The boxing match hasn't started yet.");

}	

}

@sunny96 you need to assign a value to your [quote=“sunny96, post:1, topic:25419”]
int round;
[/quote]
and you can’t have less than 0 rounds if the match is underway: [quote=“sunny96, post:1, topic:25419”]
else if (round < 0)
[/quote]

int round =5 ; you must write like this

@malakfayyad no you can have any number under 12