Case statment help plz
#include <iostream>
#include <ctime>
using namespace std;
void sleep(unsigned int mseconds)
{
clock_t goal = mseconds + clock();
while (goal > clock());
}
int main()
{
int input1, input2;
cout<<"One day Bbarry and Torkalis were walking through the woods when..\n";
sleep(1000);
cout<<"\t\t \t A shady figure descent jumps out! \n \n What now? \n 1.Try to fight him off \n 2. Run \n 3.Call for help\n";
cin>> input1;
switch (input1) {
case 1:
cout<<"Bbarry and Torkalis began fighting horonaly, right as they were about to defeat the lowly shadow man he pulled out a knife and stabbed them\n";
break;
case 2:
cout<<"Sensing danger Torkalis and Bbarry sprint away from the angry, poor shadow man. But to no avail, the black man pulls out a pistol and shoots them as they run then proceeds to belt out 'Yeeeee'\n";
break;
case 3:
cout<<"Torkalis shouts out for help, a nearby friendly stranger comes along and with a rifle and shoots the shadow man then introduces himself as Cesty\n";
sleep(1000);
switch (input2) {
case 1: cout<<"1\n";
case 2: cout<<"2\n"; break;break;
default: cout<<"That is not a valid option\n"; }
default:
cout<<"That is not a valid option\n";
}
return 0; }

