Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 598 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 598 Bytes

Factorial

This is a command-line utility that computes factorials.

Installation

make clean
make && sudo make install 

You will need cargo (Rust utility).

Usage

Once installed, you can run factorial n for any non-negative integer to compute its factorial.

Examples:

$ factorial 0
1
$ factorial 5
120
$ factorial 171
mathematically infinite

Mathematics

I would like to thank this website for teaching me how to calculate a factorial.