You can use a Stack to check if a programming statement or a formula
has balanced parentheses. Write a Windows application that provides a
text box for the user to enter an expression with parenthesis. Provide a
Check Parens button that, when clicked, runs a program that checks the
number of parentheses in the expression and highlights a parenthesis that
is unbalanced.