Question: Please solve this question using JAVA that includes only these topics : Method and classes Question 1 (50 points): ESP Game Write a program that
Question 1 (50 points): ESP Game Write a program that tests your ESP (extrasensory perception). The the following list of words: program should randomly select the name of a color from Red; Green, Blue, Orange, Yellow To select a word from the list, 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. should ask the user to enter a color that the Next the program computer has selected. Check the user input for validity .After the user entered his or her guess (valid), the program should display the name of the randomly selected color. The p should repeat 10 times and then display the number of times the user correctly guesses t the program into methods that perform each major task. rogram he selected color. Be sure to modularize @Title: Purpose: To practice method calls LastNameFirstNameESP and loop structure. Author: Date: version:1.0 (your last first name) (today's date) 1- Be sure to divide the program into following methods that perform each major task. Note: Not following the provided methods will result in loss of points /Main method--> calls functions public static void main(String args)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
