Trivia Game

Download Category:

Trivia - (3.33 MB)
Trivia Game/Debug/
Trivia Game/Debug/Trivia Game.exe
Trivia Game/Debug/Trivia Game.ilk
Trivia Game/Debug/Trivia Game.pdb
Trivia Game/ipch/
Trivia Game/ipch/trivia game-b8865133/
Trivia Game/ipch/trivia game-b8865133/trivia game-b7870115.ipch
Trivia Game/Question.txt
Trivia Game/Screenshot_1.png
Trivia Game/Trivia Game.sln
Trivia Game/Trivia Game.suo
Trivia Game/Trivia Game/
Trivia Game/Trivia Game/Debug/
Trivia Game/Trivia Game/Debug/cl.command.1.tlog
Trivia Game/Trivia Game/Debug/
Trivia Game/Trivia Game/Debug/CL.write.1.tlog
Trivia Game/Trivia Game/Debug/link.command.1.tlog
Trivia Game/Trivia Game/Debug/
Trivia Game/Trivia Game/Debug/link.write.1.tlog
Trivia Game/Trivia Game/Debug/mt.command.1.tlog
Trivia Game/Trivia Game/Debug/
Trivia Game/Trivia Game/Debug/mt.write.1.tlog
Trivia Game/Trivia Game/Debug/Trivia Game.exe.intermediate.manifest
Trivia Game/Trivia Game/Debug/Trivia Game.lastbuildstate
Trivia Game/Trivia Game/Debug/Trivia Game.log
Trivia Game/Trivia Game/Debug/Trivia Game.vcxprojResolveAssemblyReference.cache
Trivia Game/Trivia Game/Debug/Trivia Game.write.1.tlog
Trivia Game/Trivia Game/Debug/Trivia.obj
Trivia Game/Trivia Game/Debug/Trivia2.obj
Trivia Game/Trivia Game/Debug/vc100.idb
Trivia Game/Trivia Game/Debug/vc100.pdb
Trivia Game/Trivia Game/Trivia Game.vcxproj
Trivia Game/Trivia Game/Trivia Game.vcxproj.filters
Trivia Game/Trivia Game/Trivia Game.vcxproj.user
Trivia Game/Trivia Game/Trivia.cpp
Trivia Game/Trivia Game/Trivia.h
Trivia Game/Trivia Game/Trivia2.cpp

Trivia Game
Create a simple trivia game for two players. This program will work like this:
Starting with player 1, each player gets a turn at answering five trivia questions. (There are a total of 10
questions.) When a question is displayed, four possible answers are also displayed. Only one of the
answers is correct, and if the player selects the correct answer he or she earns a point.
After answers have been selected for all of the questions, the program displays the number of points
earned by each player and declares the player with the highest number of points the winner.
In this program you will design a Question class to hold the data for a trivia question. The Question class
should have member variables for the following data:
? A trivia question
? Possible answer #1
? Possible answer #2
? Possible answer #3
? Possible answer #4
? The number of the correct answer (1, 2, 3, or 4)
The Question class should have appropriate constructor(s), accessor, and mutator (getter and setter)
The program should create 10 Question objects, one for each trivia question. Make up your own trivia
questions on the subject or subjects of your choice for the objects.
Note: make sure to force valid input and use exception handling as necessary. Also, to the user, the user
interface IS the program so make sure to use descriptive, detailed user interface to make the game
professional. Here you go with my instructions.

Write a Review

Get a fresh solution of this question. Ask it now to our experts.

Ask Your Question

We have verified professionals who are ready to answer your question.


Save Time and Money

We choose experts who can quickly answer your question and that suit your budget.


Get Your Answer

Your satisfaction is 100% guaranteed. You can keep on asking questions until you get the answer you need.