Question: ESP Game Design a program that tests your ESP, or extrasensory perception. The program will randomly pick a color, and you will be asked to

ESP Game Design a program that tests your ESP, or extrasensory perception. The program will randomly pick a color, and you will be asked to predict the programs selection before it is revealed. Design the program to randomly select one of the following words: Red, Green, Blue, Orange, Yellow To select a word, the program can generate a random number. For example, if the number is 0, the selected word is Red, if the number is 1, the selected word is Green, and so forth. Next, the program should ask the user to enter the color that the computer has selected. After the user has entered his or her guess, the program should display the name of the randomly selected color. The program should repeat this 10 times and then display the number of times the user correctly guessed the selected color.

ANSWER IN PSEUDOCODE. I do not want it in java, python, or html. I need the answer in the format below please

EXAMPLE OF PSEUDOCODE FORMAT:

1 Module main()

2 // Local variable

3 Declare String keepGoing = "y"

4

5 // Calculate as many commissions

6 // as needed.

7 While keepGoing == "y"

8 // Display a salesperson's commission.

9 Call showCommission()

10

11 // Do it again?

12 Display "Do you want to calculate another"

13 Display "commission? (Enter y for yes.)"

14 Input keepGoing

15 End While

16 End Module

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!