Write an algorithm and flowchart that prints the factorial of an positive number integer.
Answers
Answered by
1
Explanation:
let's suppose the number is n and answer is ans
initialize and=1
take a variable i =1
for i=1 to i=n
ans= ans*i
Similar questions