what is the wrong wih my code? [closed]

Superficially, you’re missing a curly bracket at the end. Operationally, your switch statement is switching on a constant, ‘o’, instead of the variable o.

Leave a Comment