Question: write the program in C language. and please follow the instructions given on the question. and could you please also add and sample output just

write the program in C language. and please follow the instructions given on the question. and could you please also add and sample output just to make sure it's working properly. thank you
Name: Date 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) 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) howInstructions shows the user the game rules b) asks the user for the amount they would like to bet and returns the money value c) makeBe 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) spinwheel0-use the ran unction to return a number between 0 and 36 e) figureWinnings()- 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
Get step-by-step solutions from verified subject matter experts
