After learning about it while using a useful math website, I set out to create a program that implemented the Shunting-Yard Algorithm to parse and comprehend mathematical input. After some time, I successfully built a calculator that honored the order of operations. A user can input a math expression that uses any scientific function of any length into the text field, and it will promptly be calculated. It even supports switching from radians to degrees and custom rounding!
A seemingly simple task, I discovered that calculators are quite difficult to program. The calculator code alone took up some 200 lines of code! The GUI was built in Eclipse.
This is the first entry in my portfolio that features desktop programming, but I have been programming far simpler projects since ninth grade.
Tools used: Java, Eclipse IDE
Back to Category