Skip to content

A-childs-encyclopedia/CLIcalc.nim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

CLIcalc.nim

A command-line calculator in nim. (reimplementation of CLIcalc.jl)

Usage instructions

  1. Enter a function
    1a. mul (multiplication)
    1b. sub (subtraction)
    1c. add (addition)
    1d. div (division)
    1e. pow (power)
    1f. mod (modulo)
    1g. hcf (greatest common divisor)
    1h. sqr (square root)
    1i. tru (truncate)
    1j. exit (exits program)
  2. When prompted, supply an integer value for x and/or y
  3. When you have finished using the program, use the exit function

Installation instructions on Linux

  1. Download latest release
  2. Run ./CLIcalc in the directory where the latest release is downloaded

Installation instructions on Windows/Mac

  1. Install nim
  2. Run git clone https://github.com/A-childs-encyclopedia/CLIcalc.nim.git
  3. Run cd CLIcalc.nim
  4. Run nimble build -d:release

  5. 5a. On Windows, run `.\CLIcalc`
    5b. On Mac, run `./CLIcalc`

PRs are welcome :)

About

A command-line calculator in nim. (reimplementation of CLIcalc.jl)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages