public static void Main()
Console.WriteLine ("1-a. (Using Loop) Product of first {0} number is {1}", n, product);
Console.WriteLine("1-b. (Using While) Product of first {0} number is {1}", end, product);
Console.WriteLine ("2-a. (Using Loop) Product of first {0} number is {1}", n2, final);
Console.WriteLine("2-b. (Using While) Product of first {0} number is {1}", n2, final);
Console.WriteLine("Extra. The sum of the numbers between {0} and {1} are {2}",a,b,total);