Computer Science, asked by harshini2588, 10 months ago

write a algorithm and flowchart for factorial of a number​

Answers

Answered by kianadz1611
9

Explanation:

ALGORITHM

  1. Read number n
  2. Initialize i and fact to 1
  3. Repeat 4 and 5 when i is not equal to n.
  4. fact <- fact * i
  5. i <- i + 1
  6. Return fact.

Attachments:
Similar questions
Math, 5 months ago