using System;
public class Program
{
public static void Main()
Console.Write("Please enter your number for calculating factorial : ");
int enterNum = Convert.ToInt32(Console.ReadLine());
for(int i=enterNum-1; i>0; i--)
enterNum = enterNum * i;
}
Console.WriteLine("Factorial of given number is " + enterNum);