In: Math
street performer offers you a chance to play his game for the low price of $10.
His game involves you pushing two different buttons. One of the buttons, when pushed, has a 10% chance of winning you $40;
and the oth er button, when pushed, has a 20% chance of winning you $25. You are allowed two button presses( e ither pushing the same button twice or pushing each button once) in a single game.
Is it worth playing?