Skip to content

harunnryd/calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

calc

Calc is a package that provides the tools to evaluate simple numerical expressions

Notes

currently calc support addition and subtraction only

Build the application

Use make command.

foo@bar:~$ make build

How to run the application

Run command from .bin directory

foo@bar:~$ ./bin/calc -i "5+2"
foo@bar:~$ ./bin/calc -i "20 + -20 + 30 - -30"
foo@bar:~$ ./bin/calc -i "-20 + -20 + 30 - -30"

Get Help

Run apps using help flag for detail instructions

foo@bar:~$ ./bin/calc help

License

MIT

About

Calculatwooor

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published