Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arslanbilal/infix-postfix-evaluation

This Project converts infix expressions to postfix and evaluates postfix expressions!
https://github.com/arslanbilal/infix-postfix-evaluation

converts-infix-expressions evaluates-postfix-expressions infix-postfix-evaluation postfix

Last synced: 3 days ago
JSON representation

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

Awesome Lists containing this project

README

        

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.