Question: please write the program in C language and follow the instructions given on the questions please. thank you Name: Date Roulette Game write a program

 please write the program in C language and follow the instructions

please write the program in C language and follow the instructions given on the questions please.

thank you

Name: Date Roulette Game write a program in C using the following information: The roulette wheel has the numbers o-36 on it. You can place your bet in one of three ways i. bet on a number (payout is 36 times the bet amount) ii. bet on an odd or even (payout is 2 times the bet) iii. bet on a dozen first 1-12, second 13.24, third 25.36 (payout is 3 times the bet) The number zero does not count for odd or even or dozen, but can count as a number bet. Your program must utilize the following functions: a) showinstructions()- shows the user the game rules b) get BetAmount asks the user for the amount they would like to bet and returns the money value c) make Bet0-asks the user what type of bet they would like to place (number, even/odd, dozen) Depending upon the response, you will need to ask the relevant questions, including data entry error checking. You must use pointers! d) spinWheel() use the rand function to return a number between o and 36. e) figure winnings is passed all the bet information roulette number and bet amount. It returns how much the person has won or lost, Your program may only use local variables Your program must allow the user to continue to bet until they decide to quit. Once complete, you MuST upload the source file -c or .cpp) to the Roulette Assignment Moodle AND turn in a copy of the source code by the due date. What you send must compile and the sections you turn in must work properly. Please be careful to pay attention to the specifications

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!