Skip to content

Commit c407cab

Browse files
Land Calculation
1 parent 9ab71ec commit c407cab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Programming-Challenges/Fundamentals/src/com/challenges/LandCalculation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ public class LandCalculation {
1010
public static void main(String [] args) {
1111

1212
// Declare Variables
13-
final double oneAcre = 43560; // square feer
13+
final double ONE_ACRE = 43560; // square feer
1414
double givenSize = 389767; // in square feet
1515
double numberOfAcres;
1616

17-
numberOfAcres = givenSize / oneAcre;
17+
numberOfAcres = givenSize / ONE_ACRE;
1818
System.out.print(numberOfAcres + " acres");
1919
}
2020
}

0 commit comments

Comments
 (0)