Topic: Language Problem / Level: intermediate

Problem: Write a program to check if a string has balanced parentheses using a function.

Run the code to see the output here...