Skip to content

apologist/console_calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

console_calculator

Console calculator with the ability to set variables. Using reverse polish notation for calculation.

Example :

>var a = 10
>var b = 100
>a/b
0.100000
>b/a
10.000000
>var c = a*b
>vars
+-----------+-----------+
|       Name|      Value|
+-----------+-----------+
|          a|  10.000000|
|-----------|-----------|
|          b| 100.000000|
|-----------|-----------|
|          c|1000.000000|
+-----------+-----------+
>( 8 + 2 * 5 ) / ( 1 + 3 * 2 - 4 )
6.000000

About

Console calculator with the ability to set variables.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages