cout <<" Select 1 - To bowl\n";
cout <<" Select 2 - Walk away\n";
int pGame;
cout <<"Select 1 or 2: ";
cin >>pGame;
switch (pGame)
{
case 1:
cout <<" Select 1 - Throw normal\n";
cout <<" Select 2 - Trick shot\n";
int throwBall;
cout <<"Select 1 or 2: ";
cin >>throwBall;
switch (throwBall)
{
case 1:
cout <<"normal throw text etc etc\n";
break;
case 2:
cout <<"trick shot etc etc etc\n";
break;
default:
cout <<"Error - Invalid input; only 1 or 2 allowed.\n";
}
case 2:
cout <<"You play it safe and walk away, but with the heavy burden of knowing you could have made the shot and got a perfect game" << endl;
break;
default:
cout <<"Error - Invalid input; only 1 or 2 allowed.\n";
}