Skip to content

cohnon/infix-and-rpn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Infix/RPN calculator

A mini terminal calculator that combines infix and reverse polish notation

Usage

After building with make, running ./calc will start the program.

This calc takes any floating point value and the following operators/symbols: + - * / ( )

example

[/] % make
[/] % ./calc
% 1 + 2 * 3
= 7.000000
% 

Operator Precidence

  1. + -
  2. * /
  3. RPN
  4. ( )

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published