Hi there.
I'm having a slight bit of trouble when using a multi level case statement in my program. I'm not sure if it's because you shouldn't use case statements inside of case statements or if it's because I haven't yet learned enough about using them.
Basically I want to have an option within each nested case statement to return to the initial menu rather than being stuck in the sub menu.
//Display initial menu
//Read input
do
{
switch (//On input)
{
//Display Sub Menu
case 1:
switch (//On input)
{
case 1:
break;
case 2:
break;
}
break;
//Display Sub Menu
case 2:
switch (//On input)
{
}
break;
}
While(user doesn't select close from first menu)
Thanks.