#include<stdio.h>
int main()
{
int ch;
printf("\n\t You enter a room and are met with a split in the direction you may go, left and right. Which way do you choose?");
printf("\n\t 1. Left");
printf("\n\t 2. Right");
printf("\n\t 3. RUN AWAY!");
printf("\n\n\t Make your choice ");
scanf("%d", &ch);
if(ch<2 && ch>0);
switch(ch)
{
case 1:
printf("\n You open the door and find an empty room, looks like nothing interesting.");
printf("\n 1. Head back and go Right.");
printf("\n 2. Stay in room and wait for the sweet release to grasp your soul,");
printf("\n\n\t Make your choice ");
scanf("%d", &ch);
if(ch=1);
printf("You turn around and head towards the right.");
else
{
printf("You spend your days in the room until end of time.");
break;
}
case 2:
printf("\n You open the door and find a hallway with paintings of individuals dressed in royal garb.");
break;
default:
printf("\n You run away and explode... The End");
break;
}
}