#include <stdio.h>
long factorial(int n)
{
if (n == 0)
return 1;
else
return(n * factorial(n-1));
}
void main()
{
int number;
long fact;
printf("Enter a Number: ");
scanf("%d", &number);
fact = factorial(number);
printf("Factorial of %d is %ld\n", number, fact);
getch();
}
Online Casinos in San Jose | Casino & Sports Betting
ReplyDeleteThe best San 우리 카지노 더킹 Jose gambling 메리트 카지노 가입 쿠폰 sites and betting options, including all the best 우리카지노 slots, table games, kadangpintar poker, and bet365 blackjack games.