subject

Assume that the population of Mexico is 121 million and that the population increases 1.05% annually (new population = current population x 1.0105). Assume that the population of the United States is 315 million and that the population is reduced 0.16% annually (new population = current population x 0.9984) . Assume that the population of Japan is 127 million and that the population increases 1.01% annually (new population = current population x 1.0101). Write an application that displays the populations for the three countries every year until both Mexican and Japanese populations pass US population. Display the number of years it took for Mexico’s and Japan’s populations to exceed that of the United States. Use both while loop and for loop to accomplish the task. Save the two files (one for each type of loop) as Population_while. java and Population_for. java

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:40
In this lab, you complete a python program that calculates an employee's annual bonus. input is an employee's first name, last name, salary, and numeric performance rating. if the rating is 1, 2, or 3, the bonus rate used is .25, .15, or .1 respectively. if the rating is 4 or higher, the rate is 0. the employee bonus is calculated by multiplying the bonus rate by the annual salary.
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Light travels at a speed of 186,000 miles a second. the distance light travels in a year is 5,865,690,000,000 miles/year 5,865,695,000,000 miles/year 58,656,950,000,000 miles/year 6,789,000,0000 miles/year
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
1. which of the following statements are true about routers and routing on the internet. choose two answers. a. protocols ensure that a single path between two computers is established before sending packets over it. b. routers are hierarchical and the "root" router is responsible for communicating to sub-routers the best paths for them to route internet traffic. c. a packet traveling between two computers on the internet may be rerouted many times along the way or even lost or "dropped". d. routers act independently and route packets as they see fit.
Answers: 2
question
Computers and Technology, 24.06.2019 18:30
What is the local portion of the e-mail address below? [email protected] a.) @ b.) biz c.) gumchewer d.) twrigley
Answers: 1
You know the right answer?
Assume that the population of Mexico is 121 million and that the population increases 1.05% annually...
Questions
question
Mathematics, 14.05.2021 20:10
question
Physics, 14.05.2021 20:10