Flowchart and C program to find the factorial of a given number. Get link Facebook X Pinterest Email Other Apps August 31, 2020 Flowchart :Program :#include<stdio.h>#include<conio.h>void main(){ int f,a,p=1; clrscr(); printf("Enter any number :\t"); scanf("%d",&f); for(a=f;a>0;a--) p=p*a; printf("Factorial of a given number = %d",p); getch();}Output : Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment