/**
 * Program demonstrates use of the Rectangle class
 */
public class TestRectangle {

	/** 
	 * Creates two rectangle objects, one with width 4 and height 40,
	 * the other with width 3.5 and height 35.9,
	 * and displays the width, height, and area of each rectangle in this order.
	 */
	public static void main(String[] args) {
		// Create two rectangle objects
		Rectangle rect1 = new Rectangle(4, 40);
		Rectangle rect2 = new Rectangle(3.5, 35.9);
		
		// Print out info about each rectangle
		System.out.println("Rectangle 1: " + rect1.getWidth() + " x " + 
				rect1.getHeight() + ", area = " + rect1.getArea());
		System.out.println("Rectangle 2: " + rect2.getWidth() + " x " + 
				rect2.getHeight() + ", area = " + rect2.getArea());
	}

	
}
