Question: C++ code that simulates trivia game results. So it has two classes one for Game and one for Counting. The game classes has three ints
C++ code that simulates trivia game results. So it has two classes one for Game and one for Counting. The game classes has three ints between 0-1 for no or yes for the trivia game questions. It uses a function to set and get game results each of the game results. Then the second class Counting has six ints for the three game questions and then their answers. A function to add one of the ints to each game then a consturctor to add it all together. Class Counting would also call game for each game result. Class counting then displays the results to the screen. Then finally, declares Counting and asks the users to input how many people are playing and then their answers to the questions in Games class. I'm not sure how to start this off because I haven't done anything with OOP in C++ before.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
