UCS 1312  Exercise 5: Applications of stack

$30.00

Category: Tags: , , , , You will Instantly receive a download link for .zip solution file upon Payment || To Order Original Work Click Custom Order?

Description

5/5 - (2 votes)

• Create stack ADT as a header file “stack.h” .
• Convert the given infix expression into postfix expression by including “stack.h” in
the driver program to perform the conversion.
• Throw error for unbalanced symbols.
• Evaluate the postfix expression using “stack.h”.
• Test for the following expressions
a. (2+5) * (3-6) / (7*8)
b. 7 – (((3+2) * (6+1)) / (5+6)
c. (((3+2) * (2+5)