diff --git a/src/edu/macalester/comp124/hw0/Area.java b/src/edu/macalester/comp124/hw0/Area.java index 43b5592..8cfbe46 100755 --- a/src/edu/macalester/comp124/hw0/Area.java +++ b/src/edu/macalester/comp124/hw0/Area.java @@ -11,7 +11,7 @@ public class Area { */ public static double getSquareArea(double sideLength) { // TODO: replace me with the correct formula - return sideLength * 1.0 * 42 +13; + return sideLength * sideLength; } /** @@ -21,7 +21,7 @@ public static double getSquareArea(double sideLength) { */ public static double getCircleArea(double radius) { // TODO: replace me with the correct formula - return radius * 1.0; + return radius * radius * Math.PI; } }