Computer Science, asked by rastogianubhuti911, 7 months ago

write a program to display factorial of a no.​

Answers

Answered by saisharanam95
0

Answer:

hy follow meeeee

Explanation:

mark as brainleast

thanks ..

hpy new year in advance

Answered by TheDeadlyWasp
8

Explanation:

Write a C program to calculate the factorial of a given number.

→Pictorial Presentation:

→Sample Solution:

→C Code: #include <stdio.h> void main()→{ int i,f=1,num; printf("Input the number : "); →scanf("%d",&num); for(i=1;i<=num;i++) f=f*i; →printf("The Factorial of %d is: %d\n",num,f); } ...

→Flowchart:

→C Programming Code Editor:

hope it helps...

Similar questions