This is the main function of my homework assignment. What i am trying to do is loop the switch statement so it does not exit but instead allows me to choose another case and continuously display the menu. Any help would be appreciated. Thanks.
What you need to do to keep the menu options for a switch statement on screen is create a loop (my preference would be a "for" loop) that ends only when the user selects the exit case.
There are several ways of doing this. To me, the easiest way is to create a never-ending loop (something like for(;;)) that only gets broken (using break;) if the user selects the exit case. However, I have heard this is bad practice, although I am not entirely sure why.
The other option you have is to create a loop with the condition that it will continue as long as the exit case is not selected.