Answer to Question #39935 in C++ for Verasak Sitawan

Question #39935
Use the Car and RaceCar classes you created in the You Do It section of this chapter, or create them now. Make the following changes: G. Alter the main()function so it becomes a game. Start the user with $100 cash and ask the user to bet an amount of money on which RaceCar will win the race. After the race, if the user is correct, add the bet to the user’s cash, otherwise, subtract it. Display the user’s total winnings. Continue to run races as long as the user places a bet greater than 0. When the user is done, display the final cash value. Save the file as Race4.cpp.
Expert's answer
Dear customer,
Unfortunately, your question requires a lot of work and cannot be done for free.
Please submit it with all requirements as an assignment to our control panel and
we'll assist you.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

New on Blog