Question: The program prompts the user to enter a three-digit number and determines whether the user wins according to the following rules: if the user matches
The program prompts the user to enter a three-digit number and determines whether the user wins according to the following rules: if the user matches all three numbers, they win $15,000. If they match all the numbers, but not in the same order , they win $7,500. And if the match two numbers, they win $2,000. If they match one or none, they win nothing. .py
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
