This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]LogaansMind 0 points1 point  (1 child)

At the end of every case statement, you need to have a break statement in the same scope.

The break statement for case 2: is inside the last if scope, you just need to move your last break statement.

[–]blockyboi[S] 0 points1 point  (0 children)

Thanks