Project 9

for loop (75 points)


Sample output1

Find the factorial of what number? : 4
4! = 1 x 2 x 3 x 4 = 24


Sample output2

Find the factorial of what number? : 5
5! = 1 x 2 x 3 x 4 x 5 = 120

Sample output3

Find the factorial of what number? : 0
0! = 1

Sample output4

Find the factorial of what number? : 1
1! = 1