public static Dimesions calc(double _width, double _height) { Dimesions d = new Assignment2.Dimesions(); d = d.calc(_width, _height); return(d); }
public Dimesions calc(double width, double height) { Dimesions d = new Assignment2.Dimesions(); d.Woodlength = 2 * (width + height) * 3.25; d.GlassArea = 2 * (width * height); return(d); }