Find Factorial of given number using recursion.
This post content:-
Algorithm
Flowchart
C code
Output
Pdf notes
Algorithm:-
Step 1:- start.
Step 2:- declare fact function.
Step 3:- declare variable num.
Step 4:- take input for num.
Step 5:- call fact function.
Step 6:- define function.
Step 7:- END
Flowchart:-
C code:-
Output:-
Try it yourself:- online c compiler
Comments
Post a Comment