/home/caleb/NetBeansProjects/ADSV Java/Lab3CalebFontenot/src/main/java/Exercise01_11.java |
nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt
nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java
@author
public class Exercise01_11 {
public static void main(String[] args)
{
double Population = 312032486.0;
for (int i = 1; i <= 5; i++) {
Population += ((60 * 60 * 24 * 365) / 7.0);
Population -= ((60 * 60 * 24 * 365) / 13.0);
Population += ((60 * 60 * 24 * 365) / 45.0);
System.out.println(Population);
}
}
}