Previous Program »» Convert foots to Centimeters
This is a new approach in C Language up to now as compared to tutorials I have published before. Please try to understand it with a bit more patience and presence of mind.
The coding for C Langyage Program to calculate Dactorial goes like this:-
Next Program »» Simple Interest using C Language
For further Knowledge and Tutorial Keep Visiting :-
TechJatt - The source for all kind of Tutorial on Ethical Hacking
Like Us on Facebook or Follow on Twitter or Add to Circles on Google + to remain updated
This is a new approach in C Language up to now as compared to tutorials I have published before. Please try to understand it with a bit more patience and presence of mind.
The coding for C Langyage Program to calculate Dactorial goes like this:-
#include <stdio.h>
#include <conio.h>
void main()
{
clrscr();
int=n,c,fact=1;
printf("Enter the number whose Factorial is to be calculated: ");
scanf("%d",&n);
for (c=1; c<=n; c++)
fact=fact*c;
printf("The Factorial of %d = %d",n,fact);
getch();
}
Next Program »» Simple Interest using C Language
For further Knowledge and Tutorial Keep Visiting :-
TechJatt - The source for all kind of Tutorial on Ethical Hacking
Like Us on Facebook or Follow on Twitter or Add to Circles on Google + to remain updated