I need help with 8/11


#1


https://www.codecademy.com/en/courses/learn-java/lessons/conditionals-control-flow/exercises/if-elseif-else?action=resume


it says this "Did you set the round variable to an acceptable value? The code in the else if block should run."


Replace this line with your code.


#2

Did you figure this one out? cause I am stuck as well


#3

The only way I could repeat this was by not initializing (setting a value for) the round variable.

int round;    <--  no value is set 

	if (round > 12) {

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

	} else if (round > 0) {

...


#4

please create a new post and tell us your problem. what did you try and where did you get stuck?


#5

did you slove your problem?


#7

you have to change it to = 4 or whatever your number is


#8

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.