I need help with doing this task

In this exercise you are going to use a stack that checks whether brackets are balanced A text file contains three different types of brackets: round bracketssquare brackets and curly brackets The task is to read a file one character at a time and determine whether the brackets are “balanced”- in the sense that every opening bracket is matched by an appropriately-placed closing bracket of the same type Note:
PayPal Gateway not configured
PayPal Gateway not configured