cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
vbvc
vbvc
Oct 17, 2012 at 10:08pm UTC
CareyWoods2
(1)
yty
Last edited on
Oct 18, 2012 at 2:13am UTC
Oct 17, 2012 at 10:42pm UTC
scapegote
(27)
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 UTC
vlad from moscow
(6539)
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 UTC
Topic archived. No new replies allowed.