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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!