Question: Develop a C++ program thats a Magic 8 Ball game. To play the game you ask the Magic 8 Ball a yes or no question
Develop a C++ program thats a Magic 8 Ball game. To play the game you ask the Magic 8 Ball a yes or no question to have your secret fortune told. The ball has ten possible responses to the questions.
Ask the user to enter their yes or no question. Use the random number generator to determine which one of the ten possible responses to display as the users fortune.
The game should include a loop that allows the user to play the game until they want to exit. Probably Using cases.
Magic 8 Ball Responses:
1. It is certain.
2. It is decidedly so.
3. Without a doubt.
4. Yes - definitely.
5. You may rely on it.
6. As I see it, yes.
7. Most likely.
8. Outlook good.
9. Yes
10. Signs point to yes.
Bonus: If you can print out a magic 8 ball in the beginning message with *
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
