Question: The program should allow the user to ask for an entry from a list of proverbial phrases, each of which is missing the last word

The program should allow the user to ask for an entry from a list of proverbial phrases, each of which is missing the last word (always represented by six hyphens). In response, the program should randomly pick an entry from the list. It should then display the incomplete phrase and invite the user to supply the missing word. When user enters a word, the program should check to see if it is correct. If so, the program should congratulate the user. Otherwise, the program should tell the user they were wrong and display the phrase with the missing word filled in.

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!