Not sure why it's throwing an error?


am i missing a curly bracket?


yes you need to add one more curly brace at the end of your code

Your code will always execute the default block because you are switching on continent which is of type int but when checking for the possible cases you are using chars


tried the curly brace at the end now this happened


You wrote


he correct syntax is


The s is capital