8. If-Elself-Else help


#1

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.");

}

}


#2

@sunny96 you need to assign a value to your

and you can't have less than 0 rounds if the match is underway:


#3

int round =5 ; you must write like this


#4

@malakfayyad no you can have any number under 12