Good code is its own best documentation. As you are about to add a comment, ask yourself, How can I improve the code so that this comment isn't needed? Improve the code and then document it to make it even clearer. 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.