Skip to content

jcurtis06/JavaCalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaCalculator

A calculator made in Java w/ the Swing application framework. Learn how it's made here. The calculator is capable of solving problems such as 1 + 2 * (3 + 4) / 6.6 * 1.999.

How it Works

It uses RPN (Reverse Polish Notation) to solve problems. It starts by converting the input into RPN, then it calculates it using RPN instead of standard notation. There's two reasons why I chose this approach over solving it in standard notation. Firstly, standard notation is far more difficult to solve, as order of operations is highly important to the outcome. RPN requires no order of operations, making it far simpler to impliment. Secondly, RPN uses less resources to calculate, leading to a faster execution time.

Preview

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages