factorial_loop: Calculates the factorial of a number

Description Usage Arguments Value Examples

Description

Calculates the factorial using a loop.

Usage

1

Arguments

n

the integer to calculate the factorial

Value

the factorial

Examples

1
2
3
4
## Not run: 
factorial_loop(10)
x <- factorial_loop(7)
## End(Not run)

mnoro/numpack99 documentation built on May 22, 2019, 2:41 p.m.