Check Valid Expression Expressions with equal number of opening and closing brackets are Valid. This is a C++ Program.