/* Caitlin Ross
 * ross0272@algonquinlive.com
 * Student #040750891
 * CST8284 Object Oriented Programming (Java)
 * Section 451
 * Assignment 6
 * Oct 25, 2020
 */
package assignmentSix;

public class QuestionThree {

    public static void main(String[] args) {
        Shape[] shapes = new Shape[2];
        shapes[0] = new Rectangle(33.5, 23.8);
        shapes[1] = new Circle(12.1111);
        
        for(Shape s : shapes) {
            System.out.printf("Shape ID %d:%n\tArea: %.2f%n\tPerimeter: %.2f%n", s.getID(), s.getArea(), s.getPerimeter());
        }
    }
}
