Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help worth C++ program Change Machi 1. Create a Roulette Game Create a The game will display the possible bet types. There will be

image text in transcribed

Please help worth C++ program

Change Machi 1. Create a Roulette Game Create a The game will display the possible bet types. There will be 6 types of roulette table. a. bets on this Even (payout: 1-1) 1* 12 (payout: 2-1) 3rd 12 (payout: 2-1) Odd (payout: 1-1) 2nd 12 (payout: 2-1) Specific number 1-36 (payout: 35-1) b. The c. The game will allow the player to enter the bet amount. d. If the player is playin g on a specific number, the game will need to allow the player to e. f. enter the number they are placing their chip on The game should then randomly choose a roulette number to land on (1-36 The game should then determine if the player one and display output. the appropriate e player did not win, indicate so, and what their number and the roulette umber were (if they chose a number, else state their bet range: Even, Odd, 1" 12, 2nd 12, 3d 12) a. If th b. If the player did win, indicate so and what their winnings are Here are a few sample runs of the program 2 - Odd (payout: 1-1) 4 2nd 12 (payout: 2-1) 6 Specific number 1-36 (payout: 35-1) 1 - Even (payout: 1-1) 3 - 1st 12 (payout: 2-1) 5- 3rd 12 (payout: 2-1) How would you like to bet?1 How much money would you like to bet? $10 Press the Enter key to spin the roulette whee Roulette wheel spinning... Roulette wheel spinning You bet on even and the roll was 2. You win $ 10.0 1 - Even (payout: 1-1) 3- 1st 12 (payout: 2-1) 5- 3rd 12 (payout: 2-1) 2 Odd (payout: 1-1) 4-2nd 12 (payout: 2-1) 6- Specific number 1-36 (payout: 35-1) How would you like to bet?6 How much money would you like to bet? $10 What number do you want to place your chip on? 14 Press the Enter key to spin the roulette wheel Roulette wheel spinning... Roulette wheel spinning You bet on the number 14 and the winning number was 12. Sorry, you lose

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Outlook 2023

Authors: James Holler

1st Edition

B0BP9P1VWJ, 979-8367217322

More Books

Students also viewed these Databases questions

Question

What is meant by HDD and CDD? AppendixLO1

Answered: 1 week ago