Question: Answer this program with c programming A Wheel of Fortune has 16 slots on it. 7 slots are labeled $1.5 slots are labeled $5, 3
A Wheel of Fortune has 16 slots on it. 7 slots are labeled $1.5 slots are labeled $5, 3 slots are labeled $10 and one slot is labeled $1000. In this game, the user is asked for the amount of money they want to bet along with their guess as to which slot the wheel will stop at when spun. (The user should enter 1, 5, 10, or 1000 for which slot to bet on.) Write a C program that will ask the user for these inputs, randomly spin the wheel once, and print out the result and the money amount that the user won or lost. If the user guesses the correct slot, the user wins the bet made * correct wheel slot; otherwise, the user loses the bet made. For example, if the user bets $20 on the $5 slot and the $5 slot comes up. the user should win $100. If any other slot comes up. the user loses the $20 bet
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
