Home Segments Index Top Previous Next

324: Practice

Write an iterative program that accepts a positive integer, n, and computes the factorial of n, written n!, where n!=n * n-1 * ... * 1.