Question: Help please Modify the fortune teller program from Homework #4. All requirements of Homework #4 apply. In addition, make the following changes described below. Create

Help please  Help please Modify the fortune teller program from Homework #4. All

Modify the fortune teller program from Homework #4. All requirements of Homework #4 apply. In addition, make the following changes described below. Create a String array of 5 random fortunes for Red. Create a String array of 5 random fortunes for Green. Create a String array of 5 random fortunes for Blue. When the program chooses a fortune based on the color picked by the user, generate a random number from 0-4. Use this to index into the String array corresponding to the color the user picked. Output the fortune at that index in the array

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 Databases Questions!