public static void Main()
Console.WriteLine("Welcome to the Cylinder Program");
Console.WriteLine("Please enter the radius of the cylinder:");
rad = float.Parse(Console.ReadLine());
Console.WriteLine("Please enter the height of the cylinder:");
height = float.Parse(Console.ReadLine());
volume = pi * (rad * rad) * height;
surfArea = (pi * (rad * rad) * 2) + (pi * (rad + rad) * height);
Console.WriteLine("The volume of your cylinder is {0}", volume);
Console.WriteLine("The surface area of your cylinder is {0}", surfArea);