Question: Using the random feature and lists, create fortune telling program similar to the magic 8-ball. 1) Have the user type in a question and the
Using the random feature and lists, "create" fortune telling program similar to the magic 8-ball.
1) Have the user type in a question and the computer comes up with a response.
2) With a WHILE loop allow the user to keep asking questions until they get bored and want to stop.
Below is a list of the common responses given in the tradition magic 8-ball toy:
It is certain.
It is decidedly so.
Without a doubt.
Yes - definitely.
As I see it, yes.
Most likely.
Outlook is good.
Signs point to yes.
Reply hazy, try again.
Ask again later.
Better not tell you now.
Cannot predict now.
Concentrate and ask again.
Don't count on it.
No.
My sources say no.
Outlook not so good.
Doubtful.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
