Skip to content

Stack-based calculator and its supporting data structures, programmed in C#

Notifications You must be signed in to change notification settings

kurtcarpenter/stack-based-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

stack-based-calculator

Stack-based calculator and its supporting data structures, programmed in C#

This project was created as a short exercise exploring basic data structures. The calculator allows for four basic operations, exponentiation, and parentheses. This command-line program parses the user input then uses Dijkstra's Shunting-Yard Algorithm to convert it into Reverse Polish Notation. The program uses an array-based stack to evaulate the expression, and additionally uses an array-based dictionary.

About

Stack-based calculator and its supporting data structures, programmed in C#

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages