43 Write pseudocode to calculate the factorial of N where N
4.3. Write pseudocode to calculate the factorial of N, where N is any whole number greater than 1 and is provided by the user. (keep it as variables.)
This is an example thats similiar to question 4.3 [2.16. Write pseudocode to sum integers which are consecutive multiples of 15. Let your first line be INPUT L, H where L is the lowest integer, and H is the highest integer]
This is the way he wants us to write it down if its not in this format its wrong
2.16.
INPUT L, H
TOTAL = 0
DOFOR K = L, H, 15
TOTAL = TOTAL + K
ENDDO
Solution
We\'ll use \'for\' loop to calculate the factorial
input N
Factorial=1
for i=1:N
Factorial=Factorial * i
end
