- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLandCalculation.java
More file actions
Latest commit
20 lines (15 loc) · 523 Bytes
/
Copy pathLandCalculation.java
File metadata and controls
20 lines (15 loc) · 523 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//LandCalculation.java
//This program calculates the number of acres in a tract of land
publicclassLandCalculation
{
publicstaticvoidmain(String[] args)
{
//Variable to hold the given land track in sqare feet and 1 acre
doublelandTract = 389767;
doubleoneAcre = 43560;
//Calucaltion of acreage
doublelandTractAcres = landTract / oneAcre;
//Output of calculation to terminal
System.out.println("There is " + landTractAcres + "acres in the given land tract");
}
}