Back to projects

Math Quiz Game in C++

A C++ console-based math quiz game with difficulty levels, math operation selection, random questions, score tracking, pass/fail results, and colorful console feedback.

Overview

Math Quiz Game in C++ is a console-based application designed to help users practice basic arithmetic skills through an interactive quiz experience. The program allows the user to choose a difficulty level such as Easy, Medium, Hard, or Mix, and select the type of math operation, including addition, subtraction, multiplication, division, or mixed operations. Based on these choices, the system generates random math questions and evaluates the user’s answers. The game tracks correct and incorrect answers, calculates the final performance, and displays a pass/fail result at the end of the quiz. It also uses colorful console feedback to make correct and wrong answers more visible and provides an option to replay the quiz.

Technologies

C++Console ApplicationData Structures

Project period

Aug 2024 — Aug 2024