Skip to content

alx-m24/MathsSolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MathsSolver

This is a C++ program that processes mathematical expressions entered by the user while following the BODMAS (Bracket, Order, Division/Multiplication, Addition/Subtraction) rule to ensure correct operation precedence.

Features

  • Supports BODMAS Rule: Ensures correct order of operations.

  • Handles Parentheses: Correctly evaluates expressions with brackets.

  • User Input Processing: Accepts expressions directly from the user.

  • Lightweight & Fast: Runs instantly with no external dependencies.

How to Use

  • Run the program.

  • Enter a mathematical expression (e.g., 3 + 5 * (2 - 1) / 4).

  • The program evaluates and displays the result.

  • Repeat for more calculations or exit when done.

Future Improvements

  • Adding support for functions like sin, cos, log, etc.

  • Implementing a GUI version.

  • Supporting variable storage and advanced parsing.

License This project is open-source and available under the MIT License.

About

A simple maths solver. A program that can calculate results of mathematical expressions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages