The UNIX Operating System

TOP

UP


Ray Seyfarth

ORCA


Computer Science

COST

USM




fact - Factorial Computation


    Write a script to use expr to compute n!. For fun write it recursively and iteratively. Write 2 recursive versions: one using a shell function and one without functions.


University of Southern Mississippi
Ray.Seyfarth@usm.edu
Updated 15:45 Sep 13, 2006