public static void Main()
Console.WriteLine("Enter the height ");
height = Convert.ToDouble(Console.ReadLine());
Console.WriteLine("Enter the width ");
width = Convert.ToDouble(Console.ReadLine());
perimeter = height*2+width*2;
Console.WriteLine($"The perimeter is {perimeter}");
Console.WriteLine($"The area is {area}");
diagonal = Math.Sqrt(Math.Pow(height,2) + Math.Pow(width,2));
Console.WriteLine($"The diagonal is {diagonal}");