Mercury_Hg
Registered Member
- Aug 23, 2010
- 88
- 19
for (int i=0;i<3;i++)Hey PEWEP ....
Here is a simple ques for you ......
You are standing in a room with 3 doors , 2 of them having death and 1 with life. a robot is standing in a middle of room who always speaks the truth but only gives answer as yes or no , you have only one question for the right door, what it is ?
{
if (door.hasLife())
{
openDoor(door);
break;
}
}