public static void Main()
for (i = 1; i <= 10; i++)
Console.WriteLine("The product of the first 10 integers is {0}.", product);
for (i = 1; i <= 20; i++)
Console.WriteLine("The product of the first 20 integers is {0}.", product);
Console.WriteLine("The product of the first 10 integers is {0}.", product);
Console.WriteLine("The product of the first 20 integers is {0}.", product);
for (i = 1777; i <= 2022; i++)
Console.WriteLine("Given m = 1777 and n = 2022, the sum of the numbers between m and n is {0}.", sum);