Question: write the program in C language please. and this is my 2nd time posting the same question. please follow the instructions given on the questions.

 write the program in C language please. and this is my

write the program in C language please. and this is my 2nd time posting the same question. please follow the instructions given on the questions. program should use all the functions given on the question. and on the makeBet() function we must have to use pointers as it says on the questions.

please run it before you post the answer and see if its working properly. thank you.

Date: Name: Roulette Game Write a program in C using the following information: The roulette wheel has the numbers 0-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 be 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) showlns uctions shows the user the game rules b) get BetAmount0 asks the user for the amount they would like to bet and returns the money value c) makeBet() asks the user what type of bet they would like to place (number, even/odd, doze Depending upon the response, u will need to ask the relevant questions, including data entry error checking. You must use pointers! d) spin Wheel use the rand unction to return a number between o and 36 e) figure s passed all the bet information, roulette number and be 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!