using System;
class Program
{
static void Main()
{
int number = 10;
int factorial = 1;
for (int i = 1; i <= number; i++)
{
factorial *= i;
}
Console.WriteLine("Factorial: " + factorial);
}
}
To embed this program on your website, copy the following code and paste it into your website's HTML: