Showing posts with label switch statements. Show all posts
Showing posts with label switch statements. Show all posts

"Switch" Statement in C++

"Switch" Statement in C++

The "switch statement" is used as a substitute of "nested-if-else" statements. It is used when multiple choices are given and one choice is to be selected.
Creative Commons License
Pakistan How by Tahira Aijaz is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.