netoops blog

Saturday, 24 August 2013

Factorial_No

#include <stdio.h>
#include <conio.h>

void main()
{
int i,n,fact =1;
clrscr();
printf ("ENTER THE NUMBER");
scanf ("%d",&n);
for (i=2;i<=n;i++)
fact = fact *i;
printf ("%d!=%d",n,fact);
getch();
}

Tech Knowledege
SOCIALIZE IT →
FOLLOW US →
SHARE IT →

0 comments :

Post a Comment

 
Subscribe For Free Updates!

We'll not spam mate! We promise.

Become Our Fan on Social Sites!