how to stop gambling addiction code example Example: how to stop gambling if (gamblingAddict && moneyLost(1000000)) quit(life);