public static void Main()
Console.WriteLine("Hello and welcome to the garden fence calculator:");
Console.WriteLine("What is the length of your garden?");
length=Convert.ToDouble(Console.ReadLine());
Console.WriteLine("What is the width of your garden?");
width=Convert.ToDouble(Console.ReadLine());
perimeter=(length*2)+width;
fenceNumbers=perimeter/1.5;
Console.WriteLine("You will need {0} panels for your garden fence",Math.Round(fenceNumbers));