Question: Write a program that tests your ESP ( extrasensory perception ) . The program should read and display on the screen the names of colors
Write a program that tests your ESP extrasensory perception
The program should read and display on the screen the names of colors from a file colors.txt so the player can select one of them names of colors.
The program should randomly select the name of a color from list of words in a file colors.txt see attachment
To select a word, the program should generate a random number from to For example, if the number is the selected word is black, if the number is the selected word is white, and so forth.
The program should ask the sser so enter the celor 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 these times and then display the number of times the user correctly guessed the selected color.
The program that asks a student for his or her name, and then asks the student to enter a sentence that describes him or herself and Dae Date in a format MMDDYY
Once the user has entered the requested input, the program should display this information at the end of the program.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
