Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

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

user-image
Question ajoutée par geeta sethi , faculty , apar india college
Date de publication: 2015/04/23
nimya john
par 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

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?