Hi
I am trying to use a loop in this switch statement so i can have the user select another choice.
here is my code. choice is an interger variable and the cases are funtion calls. they all work except i cant figure out the loop and where to put it. I thought it would go in the default section of the switch. hope you can help


switch(choice)
{
case 1: smallest(first,second,third,fourth,fifth);
break;
case 2: largest(first,second,third,fourth,fifth);
break;
case 3: sum(first,second,third,fourth,fifth);
break;
case 4: average(first,second,third,fourth,fifth);
break;
case 5: printDisplay(first,second,third,fourth,fifth);
break;
default: cout<<"\aError! choice is (1) or (2) or (3) or (4) or (5) please try again\n";
break;

}