Infix-Postfix-Evaluation icon indicating copy to clipboard operation
Infix-Postfix-Evaluation copied to clipboard

This Project converts infix expressions to postfix and evaluates postfix expressions!

trafficstars

Infix-Postfix-Evaluation

This Project converts infix expressions to postfix and evaluates postfix expressions!

Operations class include below useful functions:

1) checkTheEvaluation(String) -> Bool
checking the evaluation if there is a syntax error. For instance bracket and number control.
(A+B)+C returns true
(A+B)+C) returns false - bracket mistake
(AB+C)*D returns false - number mistake

2) infixToPostfixEvaluation(String) -> String
evaluate the infix string equation to postfix equation.

3) postfixEvaluate(String) ->Double
returns result of postfix equation.