Skip to content

TzachiStrugo/Text-Based-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Text Based Calculator

A simple arithmetic text based calculator. The calculator using Shunting yard algorithm to convert the infix expression to prefix.

Expressions for Example

Input
i = 0
j = ++i
x = i++ + 5
y = 5 + 3 * 10
i += y


Output
(i=37,j=1,x=6,y=35)
}

Running Tests

To run tests, run the following command

  mvn test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published