Thank you for the opportunity to help you with your question!

Product of the first 'N' numbers is commonly called factorial of N and is mathematically denoted as ' N! '

Following is the pseudocode:

result=1

n=input(Number 'N')

while(n>=1)

}

result = result *n

n=n-1

Required answer will be stored in variable 'result'.

Also this algorithm technique is commonly called recursion.

Secure Information

Content will be erased after question is completed.

Enter the email address associated with your account, and we will email you a link to reset your password.

Forgot your password?

Sign Up