i am new here and i have this Q to solve it plz help me
Using class stack, write a program to read an expression and checks if the symbols : the parentheses ( ), square brackets [ ] are balanced or not. For example :
(a+b-[c+d)] is not balanced correctly.
(a+b-[c+d]) is balanced
:cry:
moon_light 0 Newbie Poster
Lord Soth 4 Posting Whiz in Training
server_crash 64 Postaholic
moon_light 0 Newbie Poster
iamthwee
moon_light 0 Newbie Poster
moon_light 0 Newbie Poster
AstroNox 0 Junior Poster in Training
moon_light 0 Newbie Poster
iamthwee
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.