Question: For your second program, you will need to modify lab number 5 , the Magic 8 - Ball. You should now use a loop to

For your second program, you will need to modify lab number 5, the Magic 8-Ball. You should now use a
loop to let the user ask additional questions. After giving the user their random answer, ask them a
simple yes or no question about whether they would like to continue. This is similar to the questions you
asked in labs 6 or 7, and we will assume that the user still enters correct information.
If the user answers y for yes, then your loop should allow them to ask another question and give them
another answer. If they answer n, then your loop should terminate.
Turn in your completed program.

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!