Chemistry, asked by bandalex51, 1 month ago

Write an algorithm to get the factorial of a number.

Answers

Answered by s02371joshuaprince47
0

Answer:

Explanation:

input a number n

set variable final as 1

final <= final * n

decrease n

check if n is equal to 0

if n is equal to zero, goto step 8 (break out of loop)

else goto step 3

print the result final

Similar questions