Question: Lottery Game Instructions: Develop a computer game. The game should have two modes: Single Shot and Triple Play. The game starts with $100 and it
Lottery Game Instructions: Develop a computer game. The game should have two modes: Single Shot and Triple Play. The game starts with $100 and it should allow the user to play until he/she runs out of money or decides to quit. The rules of the game are detailed in the table below. Prize $10 Any user's number matches the lottery numbers $20 Two user's numbers match the lottery numbers $50 $100 Game Mode Cost Valid Range How to Win Single Shot $5 0-9 The user's number matches the lottery number 19 Two Triple Play$20 Except 7, 13 All user's numbers match the lottery numbers Deliverables IPO chart . C++ code Live demo
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
