Question: Please use basic C++ code for this practice problem. I would like to understand the code and not super intense high level techniques. Its a
Please use basic C++ code for this practice problem. I would like to understand the code and not super intense high level techniques. Its a intro to C++ class. Thanks!
You are making an electronic quiz for some children in school. You are going to ask the following 5 questions and tell them their percent correct at the end Question 1: 5+7-? Question 2: 5-7-? Question 3: What animal goes "woof"? Question 4: What are the three primary colors? Question 5: What state do we live in? These questions should have the following answers: Answer 1: 12 Answer 2: -2 Answer 3: dog Answer 4: blue green red (in any order) Answer 5: minnesota Ask the questions in the exact order shown above. The answer will always be in lower case and exactly as shown above, except question 4 can have the colors in any order (so answering "red green blue" is correct, but not "green green green"). You can assume they will always give three colors for question 4. Example 1 (user input is underlined) Question 1: What is 5+7 200 Question 2: What is 5-7? Question 3: What animal goes "woof"? doggie Question 4: What are the three primary colors? Question 5: What state do we Iive in? Your percent correct: 40
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
