/Math_Game

A simple interactive math quiz game with different difficulty levels and operations.

Primary LanguageC++

Math Quiz Game in C++ ๐ŸŽฏ

๐Ÿ“Œ Overview :

This project is an interactive math game written in C++. The program generates random arithmetic questions for the user, with the option to choose the difficulty level and type of arithmetic operations. It tracks correct and incorrect answers and displays the final score after completing all the questions.

๐Ÿ›  Features :

โœ… Random arithmetic questions (+, -, ร—, รท)

โœ… Choose difficulty level (Easy - Medium - Hard - Mixed)

โœ… Track the number of correct and incorrect answers

โœ… Evaluate the user's final score

๐Ÿš€ How to Run :

1๏ธโƒฃ Download the file proyecto.cpp to your device.

2๏ธโƒฃ Open the file using any C++ editor like CodeBlocks or Visual Studio.

3๏ธโƒฃ Compile and run the code using any C++ compiler (like g++).

4๏ธโƒฃ Follow the instructions in the command line to answer the questions.

๐Ÿ“ Code Structure :

main() โ†’ The main entry point to start the game.

StartGame() โ†’ Contains the logic for running the game and restarting.

GenerateQuestion() โ†’ Generates random questions based on the selected difficulty level.

SimpleCalculator() โ†’ Performs different arithmetic operations.

PrintQuizzResults() โ†’ Displays the user's final score.

๐Ÿ–ฅ Requirements :

C++ Compiler (like g++)

Windows/Linux/macOS