A simple and interactive quiz game written in C++
- The game asks the user multiple-choice questions (MCQs)
- Each correct answer gives the user points
- At the end, the total score is displayed
- Console-based quiz experience
- Multiple-choice format
- Easy to expand with more questions
- Tracks score and shows results
- Clear instructions and user-friendly prompts
if-elseandswitchstatements- Arrays / structures (if used)
- Loops and functions
- Input/output (
cin,cout) - Scoring logic and conditions
- Click the Run button
- Answer the questions by typing appropriate option
- See your score at the end!
- Make sure you have a C++ compiler installed (e.g.,
g++) - Compile the code: g++ quiz_game.cpp -o quiz
3.Run the code ./quiz
