Question: Write a C++ program that simulates a Magic 8 Ball, which is a fortune-telling toy that displays a random response to a yes or no

Write a C++ program that simulates a Magic 8 Ball, which is a fortune-telling toy that displays a random response to a yes or no question from the user. The program should ask the user to ask a yes or no question, and then display one of the responses randomly from an array of 12 responses. The program will continue to ask the user questions and respond until the user types in DONE. The array of responses should contain the following 12 responses Yes, of course! o Without a doubt, yes. o You can count on it. o For sure! o Ask me later o I'm not sure. o I can't tell you right now. o I'1l tell you after my nap. o I don t think so. o Without a doubt, no o The answer is clearly NO
Step by Step Solution
There are 3 Steps involved in it
To address the issue ensure the array of responses matches exactly what is specified in the instruct... View full answer
Get step-by-step solutions from verified subject matter experts
