Question: C++ Can you help me with Pick 4? . The user bets on a specific number from 1 to 6. Count the nun e user's
. The user bets on a specific number from 1 to 6. Count the nun e user's number. If there is at least one matching number, the user wins humbers bet amount. If none of the 5 dice match the user's number, the user lose Ur example, if the user bets on 4 and the dice come up 2 42 4 5, the user wins two times the be unt. 2. Pick 4: picked an The user selects four digits from O to 9 to bet on. Four random numbers from 0 to 9 are then d the number of matching numbers are found. If the user gets no matching numbers, the user loses bet. If the user gets 1 matching number, the user breaks even. If the user gets 2 matching numbers, their the use r wins double their bet amount. If the user gets 3 matching numbers, the user wins four times their icks 7, 1, 4, 2 and the random numbers come up as 7, 4, 1, 2, the user matched two numbers and bet amount. If the user gets all 4 matching numbers, the user wins fifty times their bet amount. For example, the user p wins double their bet amount. 3. Mini Lotto: The player purchases a lotto ticket for $1. The user either selects 5 different numta 1 to 35 for their lotto ticket or specifies they want a quick pick for the 5 different numbers. Yo need to make sure that hen picked. The number of matching numbers between the lotto ticket and the user does pick five distinct lotto numbers. Five distinct rand ound. If three numbers match, the player wins $5, if four numbers ma ayer matches all five numbers, the player wins $250000. Oth A Game of your choice: Please include do ne and how the betting is done. ch game, f
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
