• C

how do you loop back to the beginning statement in a switch and case statement?

I'm using a switch and case statement instead of "ifs"... since I can't seem to get my other program to work.

after my first statement I cannot get it to go back to top.  I tried "return" and "continue"  no luck.

Who is Participating?
switch statements do not loop, you need a while, do, for, or goto statement to loop
rbautistAuthor Commented:
that answers that questions !!  

Thanks.. back to the ifs..
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.