You can use a Stack to check whether a programming statement or a formula has balanced parentheses. Write a Windows application that provides a textbox 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.