... programming requires more concentration than other activities. It's the reason programmers get upset about quick interruptions' - such interruptions are tantamount to asking a juggler to keep three balls in the air and hold your groceries at the same time. Steve McConnell


Language Java | Level Intermediate | Category Data structure | August 30, 2015 1:59 pm

Data structure Description

Infix notation is the notation commonly used in arithmetical and logical formulae and statements. It is characterized by the placement of operators between operands

Write a program to evaluate infix expression using the stack and print the value.



Infix Expression: ((2*5)+2)
Result: 12



No comments available!

Please login to add comments.