Stack
In this exercise your task is to create a program that determines whether the brackets in the input text are balanced or not. The brackets are balanced if:
The bracket types are:
(this text is balanced)
Balanced
(this text is not balanced
Not balanced
({this text is
not balanced)}
Not balanced