public static void Main()
double width, height, woodLength, glassArea ;
const double MAX_WIDTH=5.0 ;
const double MIN_WIDTH=0.5 ;
const double MAX_HEIGHT=3.0 ;
const double MIN_HEIGHT=0.75 ;
string widthString, heightString ;
Console.Write("Give the width of the window between" + MIN_WIDTH + " and" + MAX_WIDTH+ " :");
widthString=Console.ReadLine();
width=double.Parse(widthString);
while (width < MIN_WIDTH || width > MAX_WIDTH);
Console.Write("Give the height of the window between" + MIN_WIDTH + " and" + MAX_WIDTH+ " :");
heightString=Console.ReadLine();
height=double.Parse(heightString);
while (height < MIN_HEIGHT || height > MAX_HEIGHT);
woodLength=2*(width+height)*3.25;
glassArea=2*(width+height);
Console.WriteLine("The Length of the Wood is " + woodLength+ "feet");
Console.WriteLine("The area of the glass is " + glassArea + "square metres");