Question: I need help with this homework please use class (Public and Private) In-Class Assignment 4 - Match the Parentheses Write a program which uses a
I need help with this homework please use class (Public and Private)

In-Class Assignment 4 - Match the Parentheses Write a program which uses a stack to match left and right parentheses. The user can enter parentheses, operands and operators. If an operand or operator is encountered, ignore it. Whenever a left parenthesis is found, push it. Whenever a right parenthesis is found, pop the stack and see if the input string value is paired with the popped value. Parentheses may be of the form o..R Generate the appropriate error message or specify that the parentheses are properly matched, according to the notes we previously reviewed as "Parentheses Matching Algorithm* in Notes 6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
