Question: C++ proverbs test. Using the table below, write a program that presents these seven proverbs one at a time and asks the user to evaluate
C++ proverbs test.

Using the table below, write a program that presents these seven proverbs one at a time and asks the user to evaluate them as true or false. The program should then tell the user how many questions were answered correctly, and display one of the following evaluations: Perfect (all seven answers correct), Excellent (5 or 6 correct), You might want to consider taking Psychology 101 (less than 5 correct).- Proverb The squeaky wheel gets the grease Cry and you cry alone Opposites attract Spare the rod and spoil the child Actions speak louder than words Familiarity breeds contempt Marry in haste, repent at leisure Truth Value Truef Truef False False* True* False* Truef You must utilize at least two switch statements and three functions (including main) in your solution.- One solution could look like this, yours might be different:* main switch statement to present each of the proverbs in order* function call to funcl to process the answers, returning either true or false* accumulate correct answer total function call to func2 to output the results, pass in total correct* func1- ask user for answer, return true or false* func2- switch statement to output results*- 7 correct-perfect* 5 or 6 correct : excellent-
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
