Skip to content

RezaGooner/Parenthesis-Matching

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation


Parenthesis Matching Checker

🔍 This project helps to verify the correct usage of parentheses in mathematical expressions. It checks if every (, {, and [ is correctly paired with its corresponding closing counterpart.

Features

  • ✔️ Validates the balance of three types of brackets: (), {}, and [].
  • 🔄 Helps in ensuring syntax correctness for mathematical or logical expressions.

How to Use

  1. Clone the repository:
    git clone https://github.com/RezaGooner/Parenthesis-Matching.git
  2. Compile and run the program to check expressions.
  3. Input expressions with brackets to validate their correctness.

Example

// Example expression
{[5 + (3 * 2)]}

✅ This expression is valid.

License

This project is licensed under the Apache 2.0 License.