Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Step: 3

blur-text-image

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

Modern Dental Assisting

Authors: Doni Bird, Debbie Robinson

13th Edition

978-0323624855, 0323624855

Students also viewed these Programming questions

Question

Explain the promotional mix elements.

Answered: 1 week ago

Question

1. There are many social organisations around us?

Answered: 1 week ago

Question

Why advertising is important in promotion of a product ?

Answered: 1 week ago

Question

What is community?

Answered: 1 week ago

Question

What are the features of the community?

Answered: 1 week ago