Project 14: Should you play the game?
Project 14:
Suppose there is a certain game of chance at a casino:
The probability of winning the game is 'probSuccess'.
The cost of playing the game is 'costToPlay'.
The amount won (not profited) if you win is 'prizeAmount'.
Task: Appropriately initialize the value of 'shouldPlay' to true if you will have a positive expected value from playing (on average you win money). The value of 'shouldPlay' should be set to false if you have
**If your code works for 10 test cases in a row, you can enter your e-mail address.