Draw Flowchart and write algorithm to find out factorial of a given integer number
Algorithm
step 1. Startstep 2. Read the number nstep 3. [Initialize]i=1, fact=1step 4. Repeat step 4 through 6 until i=nstep 5. fact=fact*istep 6. i=i+1step 7. Print factstep 8. Stop
Flowchart
Try
0 Comments
Post a Comment