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

Popular posts from this blog

Develop a program to print values of variable and their addresses.

Develop a c program to find the sum of all elements stored in a given array using a pointer.