Question: write a program that asks the user to enter the current population of China. For testing purposes you may use the value of 1,388,232,693 from
write a program that asks the user to enter the current population of China. For testing purposes you may use the value of 1,388,232,693 from 2017. Assume that the growth rate is 0.43% per year. Predict and print out the predicted population for 2018 through 2020. Change your growth rate to 0.5% and repeat. Use Longvalue and Use the JOptionPane Class methods to get user input and to present your output. Make sure that your output is annotated appropriately. don't use java.math.BigDecimal
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
