Any fool can write code that a computer can understand. Good programmers write code that humans can understand. Martin Fowler

evaluateInfix

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.


Output

   					 

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

				    

Comments


No comments available!

Please login to add comments.