Write a program that lets a user enter N and that outputs N! (N factorial, meaning N*(N-1)*(N-2)*.*2*1). Hint:Use a loop variable i that counts from total-1 down to 1.

Solved
Show answers

Ask an AI advisor a question