Hey guys,

I need some help writing code for a really simple inventory program. I need to code a program that has two sections. i already have the base program. I am using switch statements to choose between the two sections. Here is my problem: i need to set up a loop inside these switch statements. I am going to use 9999 as the sentinel to go between the sections, and i need to set EOF as the controlling sentinel to exit the program. I have tried to put two switch statements before each case in switch, and put a main while with the switch statement inside. But it does not work. If anybody knows what i am doing wrong please let me know.

"Every great advance in science has issued from a new audacity of the imagination." -- John Dewey