Question: Task 2 : Find factorial of a number Your code should be able to: Display in the I / O window the prompt Enter a
Task : Find factorial of a number
Your code should be able to:
Display in the IO window the prompt Enter a number to find factorial:
Take a number from the IO window
Calculate the factorial of the number
Display the result to the IO window
Loop to take new user inputs
You can use the procedure below to find the factorial of a number.
Note that this procedure does not have argument yet in $a You need to take an input
number from the IO window and feed to the procedure. The procedure saves the result
$v You need to display the result to the IO window.
Clearly comment your code as in the given procedure
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
