Calc is a package that provides the tools to evaluate simple numerical expressions
currently calc support addition and subtraction only
Use make command.
foo@bar:~$ make build
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"
Run apps using help
flag for detail instructions
foo@bar:~$ ./bin/calc help