// Eduardo Corrales
public class Takehome
{
	public static void main(String args[])
	{
		//Create new circle and variables
		Circle3 a, b, c, d;		
		ALU chip;
		double r, s, t, u, w, x, y, z;

		
		chip = new ALU();
                a = new Circle3();                     //Create new circle A
                x = a.getCircumference();             //Give x the value of "A" Circumfrence

        //Value "b"
        b = new Circle3();
        b.setRadius(x);
        b.setColor("Red");
        b.setFill("Yellow");
        y = b.getCircumference();
        z = b.getArea();

        //Set alu
        chip.setBoth(y, z);                          //Set both y and z to the chip class
        chip.calcAvg();                              //calculate the average of y and z
        w = chip.getResult();                        //Return the result

        //Output
        System.out.println(" The result is: " + w);  //Print the Results

        //Value C
        c = new Circle3();
        c.setRadius(w);
        c.setColor("Red");
        c.setFill("Yellow");
        d = new Circle3();                          //Create D a new circle
        u = d.getRadius();
        d.setRadius(u);
        d.setColor("Red");
        d.setFill("Yellow");

	//Values s,t,r,a
        s = c.getRadius();
        t = d.getRadius();
        r = s + t;
        a.setRadius(r);




    }
}

