vbvc

Oct 17, 2012 at 10:08pm
yty
Last edited on Oct 18, 2012 at 2:13am
Oct 17, 2012 at 10:42pm
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).

http://cplusplus.com/doc/tutorial/control/
Oct 17, 2012 at 10:44pm
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 Oct 17, 2012 at 10:45pm
Topic archived. No new replies allowed.