Computer Science, asked by kumarprince5446, 6 months ago

Write an algorithm to find factorial of a number entered by user

Answers

Answered by sujatamanhas64
11

Answer:

see in the picture .. of ur answer

Attachments:
Answered by Jasleen0599
0

Write an algorithm to find factorial of a number entered by user

  1. Activate programme
  2. To find the factorial, request an integer from the user.
  3. Assign the integer to a variable after reading it.
  4. The final value is updated by multiplying each digit from the integer's value up to 1.
  5. The factorial is the final result after all multiplications up to one.
  6. pause the programme.
  • In mathematics, the term "factorial" refers to the sum of all positive integers that are less than or equal to a certain positive integer, which is followed by an exclamation point. Thus, factorial seven is denoted by the symbol 7!, which stands for 1 2 3 4 5 6 7. Factorial 0 is equivalent to 1 by definition.
  • The sum of all the integers from 1 to a certain number is its factorial. The factorial of 6, for instance, is 1*2*3*4*5*6 = 720. Factorial does not apply to negative numbers, and zero has a factorial of 1, or 0!

#SPJ2

Similar questions