Question: Create a pseudocode program that asks the user to enter an integer number from 1 to 20, and then calls a function to compute the
Create a pseudocode program that asks the user to enter an integer number from 1 to 20, and then calls a function to compute the factorial of this number. A factorial is the product of an integer times each smaller integer down to 1. For example, the factorial of 5 is 5*4*3*2*1 and has the value of 120. (Hint: Set a result variable to 1, and then use a For loop that multiplies the result variable by every number from the given number down to 1.) Use Notepad to create the program and post here and convert the pseudocode file to javaScript, and test your program. Save the file as factorial.html
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
