Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please provide a runnable source code to the follwing problem: Use C++ language 5) With the random number generation tools presented in class from chapter

Please provide a runnable source code to the follwing problem: Use C++ language

image text in transcribed

5) With the random number generation tools presented in class from chapter 3 and the switch statement from chapter 4, create a simple fortune telling game. Your program will start by asking the users to enter five careers they would like to have some day. The program will then use the random numbers to predict their future. Here is a sample run with user input shown in bold: I am a fortune teller Look into my crystal screen and enter 5 careers you would like to have. For example: Chief Engineer Intergalactic Astronaut CIA Agent Executive Distributed Game Developer Independently Wealthy Then I wii predict what you will be. Career choice: radio announcer [Enterl Career choice 2: sky diving instructor [Enter] Career choice 3 circus clown [Enter] Career choice 4: university professor [Enter] Career choice 5: Independently Wealthy [Enter] You will be a circus clown. Run the program three times

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_2

Step: 3

blur-text-image_3

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

Probabilistic Databases

Authors: Dan Suciu, Dan Olteanu, Christopher Re, Christoph Koch

1st Edition

3031007514, 978-3031007514

More Books

Students also viewed these Databases questions

Question

=+ a. a family deciding whether to buy a new car

Answered: 1 week ago

Question

=+10. How are inflation and unemployment related in the short run?

Answered: 1 week ago