1. What is the purpose of while (!validBet) in this code?

Printable View