Assignment #2: Family Feud
(Due Tuesday, November 15th @11:59pm via Canvas)
Scenario: Write a class named GameShow that contains one data attribute name and its appropriate
methods/functions. Next, create a derived class named FamilyFeud that contains one data attribute points
and its appropriate methods/functions.
Functionality: In an effort to imitate the functionality of the actual gameshow Family Feud, you will need
to create a test class that consists of four rounds. The user will receive a question at random (using the
rand()) for each of the four rounds (there are 10 questions that will need to be selected at random, these
questions should be clustered into their assigned round see the Corresponding Question doc for further
details). Based on the question the user is given, your program should read in the corresponding text file
that contains a list of answers and their respective points (you can retrieve and view all 10 text files in
Canvas). Refer to Corresponding Questions.txt for clarity regarding what question should be assigned
to a designated text file. Also, make sure you pay close attention to the assigned rounds for each text file,
respectively. A round is completed if: 1) the user successfully guesses all of the answers listed in the text
file or 2) the user receives 3 strikes due to 3 instances of providing an incorrect answer (as seen on the
actual gameshow). After all four rounds are concluded, your program should tally up the total points
acquired by the user (also note for Rounds 3 and 4 the points are doubled and tripled, respectively). Finally,
your program should determine whether or not the users final score is >=500, if so then the user will
proceed to the Fast Money round, otherwise the game ends. For this program, do NOT worry about
developing any code to reflect the Fast Money round.
Ideal Output: If your code is written correctly, your program should resemble the following output
scenario:
ROUND 1 EXAMPLE SCENARIO:
ROUND 2 EXAMPLE SCENARIO:
ROUND 3 EXAMPLE SCENARIO:
ROUND 4 EXAMPLE SCENARIO:
TOTAL POINTS SCENARIO:
If points < 500:
If points >= 500:
v This assignment is worth 100 points Please submit your .h and .cpp file(s) to
Canvas. (DO NOT EMAIL YOUR CODE TO ME OR DO NOT USE ANY OTHER FILE
EXTENSION TO SUBMIT YOUR CODE).