HananeAitBenYachou / Math-Quiz-Game

🧠 This is a simple math quiz game implemented in C++. The program generates a set of math questions based on the user's preferences and allows the user to answer them. After answering all the questions, the program displays the final results.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Math Quiz Game

This is a simple math quiz game implemented in C++. The program generates a set of math questions based on the user's preferences and allows the user to answer them. After answering all the questions, the program displays the final results.

Introduction

The math quiz game allows you to test your math skills by answering a set of randomly generated math questions. The difficulty level and the type of operations can be customized according to your preference. The game keeps track of your answers and provides you with the final results at the end.

Prerequisites

To run this program, you need to have a C++ compiler installed on your machine.

Usage

  1. Clone the repository or download the source code file.
  2. Compile the source code using a C++ compiler.
  3. Run the compiled executable.
  4. Follow the on-screen instructions to play the game.

Game Rules

  1. At the beginning of the game, you will be prompted to enter the number of questions you want to answer, the questions level (easy, medium, hard, or mixed), and the operation type (addition, subtraction, multiplication, division, or mixed).
  2. The program will generate a set of math questions based on your preferences.
  3. Each question will be displayed on the screen, and you need to enter your answer.
  4. After answering all the questions, the program will display the final results, including the number of right and wrong answers.
  5. If you want to play again, you can choose to restart the game. Otherwise, you can exit the program.

About

🧠 This is a simple math quiz game implemented in C++. The program generates a set of math questions based on the user's preferences and allows the user to answer them. After answering all the questions, the program displays the final results.


Languages

Language:C++ 100.0%