•
Contents
•
Up
•
Test
•
The following loop is supposed to show the factorial of each number from 1 to
n
. What is wrong with the following loop. Assume that
n
is known and that the factorial function is available.
Let k = 1. While k <= n do Display factorial(k). %While
Answer
Store