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
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
Get step-by-step solutions from verified subject matter experts
