Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Write an algorithm to print the factorial of a given number and after that draw the flowchart?

user-image
Question added by geeta sethi , faculty , apar india college
Date Posted: 2015/04/23
nimya john
by nimya john , Systems engineer , IBM

Step1:Start

Step2:Read the number.

Step3:Intialization

i=1,Fact=1

Step4:Repeat step4 through6 until i=n

Step5:Fact=Fact*i

Step6:i=i+1

Step7:print Fact

Step8:Stop

good answer  can u  write algorithm to find the series of prime numbers please

 

More Questions Like This