Skip to content

nickhealy/C-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C-calculator

A lightweight CLI calculator written in C.

Supports complex order of operations, with basic input validation (incomplete parenthesis, unrecognized characters).

Under the hood, the calculator parses the user's input, converts it into Polish (postfix) notation using and implementation of Djikstra's Shunting Yard algorithm.

There are still a few edge cases related to negative numbers -- for example, 4 - - 3.

About

A lightweight CLI calculator written in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published