Flow Chart For Factorial

Algorithm and flowchart to find the factorial of a given number

Factorial of 5 = 1*2*3*4*5=120

Algorithm:

  • Begin
  • Input N
  • Fact <- 1
  • for i <- 1 to N do
  • Begin
  • Fact <- Fact *i
  • End
  • Output Fact
  • End

Flow Chart:

factorial flowchart.png

From the Web

Suggestions: (1)
Loading...

See few results | more results

Search: [Press Enter]

Share |