Question: Instructions: Create a C + + program with a menu that allows users to select from multiple quizzes. Implement external functions for each quiz, each
Instructions:
Create a C program with a menu that allows users to select from multiple quizzes.
Implement external functions for each quiz, each containing a set of questions and answers.
Use a statement to route the user's choice to the appropriate quiz function.
Display quiz questions, accept user answers, and provide feedback on correctness.
Tasks:
Create a C program with the following menu options:
Quiz Math
Quiz History
Quiz Science
Exit
Define multiple external functions, one for each quiz. Each function should present a set of questions and answers related to the chosen quiz topic. Keep your outputs within these functions so they should not return any value.
In each quiz function, display questions and ask the user to input answers.
Provide feedback on each answer correct or incorrect
Use a loop to allow users to attempt each quiz multiple times if they desire.
Example Output:
Quiz Menu:
Quiz
Quiz
Quiz
Exit
Please choose a quiz :
Quiz : Math Quiz
Question :
What is multiplied by
Your answer:
Correct!
Question :
What is the square root of
Your answer:
Correct!
You completed Quiz
Continue? Yes, No:
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
