Simple, just give the player 2 tries to guess. I know that this is not exactly a 50/50 life line However it should act the same. this is because the probability of choosing the correct answer remains the same. For example, in a proper 50 50 life line, the probability of winning is 1/2. the probability of winning normally is 1/4. So, the probability of winning with 2 guesses is 2*1/4 = 2/4 = 1/2. Therefore the chance of winning is the same.
You can accomplish this by using a simple for
loop
solved Hey Guys.What to ask how i am going to implement a 50 50 lifeline in my KBC or WHO WANTS TO BE A MILLIONAIRE? in the following code of mine? [closed]