• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 402
  • Last Modified:

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.


0
rbautist
Asked:
rbautist
1 Solution
 
ozoCommented:
switch statements do not loop, you need a while, do, for, or goto statement to loop
0
 
rbautistAuthor Commented:
that answers that questions !!  

Thanks.. back to the ifs..
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now