🔍 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.
- ✔️ Validates the balance of three types of brackets:
()
,{}
, and[]
. - 🔄 Helps in ensuring syntax correctness for mathematical or logical expressions.
- Clone the repository:
git clone https://github.com/RezaGooner/Parenthesis-Matching.git
- Compile and run the program to check expressions.
- Input expressions with brackets to validate their correctness.
// Example expression
{[5 + (3 * 2)]}
✅ This expression is valid.
This project is licensed under the Apache 2.0 License.