public static void Main()
double f, c, d, g, e, ts;
Console.Write("Please enter a positive integer greater than zero: ");
h = Convert.ToInt32(Console.ReadLine());
ts = h + d + e + f + c + g;
Console.WriteLine("===========================================================");
Console.WriteLine("The following values of the variables are c = {0:f2}, d = {1:f2}, e = {2:f2}, f = {3:f2}, g = {4:f2}, and h = {5}.", c, d, e, f, g, h);
Console.WriteLine("The sum of all the variables is {0:f2}.", ts);
Console.WriteLine("===========================================================");