Last edited on
Please use the source code format when you post (the <> image)

Other than that, you should look into what a switch statement does. You don't seem to be getting its purpose here Here's the link to the page that has it (it's at the bottom).

Your switch statement shall not work. That is it will always pass the control to the statement with label default: So you will get "Invalid Input".:)
Last edited on
Topic archived. No new replies allowed.