Topic: Stack Problem / Level: intermediate

Problem: Write a program to implement a basic calculator with support for nested parentheses using a stack.

Run the code to see the output here...