PropellerAds

Draw A Flowchart and Algorithm to find the Factorial of A number

No comments :

Draw A Flowchart and Algorithm to find the Factorial of A number

we will draw Flowchart and Algorithm to find  the factorial of number .

DECLARATIONS- 
  • fact=factorial
  • num= number that we  accept from user as input.
  • (fact*=n
  • n++) formula to find factorial

Algorithm

Step 1:Start
Step 2:Declare variables n=1,fact=1,num
Step 3:Read variables num
Step 4: fact*=n , n++
Step 5: If n<num
Step 6:Display fact
Step 7:Stop


Flowchart

No comments :

Post a Comment