This is a simple Java program for generating mathematical questions based on user experience points (XP). The program randomly selects a mathematical operation and a number based on the user's XP level, and then generates a question accordingly.
- Clone or download this repository.
- Open the project in your Java IDE.
- Compile and run the
QuestionGen.java
file. - The program will print a randomly generated question based on your XP level.
The QuestionGen
class contains methods for generating different types of mathematical questions, including division, multiplication, addition, and subtraction. The qMaker
method selects a random operation and number based on the user's XP level, then calls the appropriate question-making method. The generated question is printed to the console.
This program does not require any external dependencies. It is written in pure Java and can be run on any platform with a Java Runtime Environment (JRE) installed.
This project is licensed under the MIT License.
This program was authored by Shalvex Novachrono (Nava Majumdar).