subject

Assume that the population of mexico is 128 million and that the population increases 1.01 percent annually. assume that the population of the united states is 323 million and that the population is reduced 0.15 percent annually. write an application that displays the populations for the two countries every year until the population of mexico exceeds that of the united states, and display the population of mexico will exceed the u. s. population in x yearspublic class population{public static void main(string[] args){double mexicopop = 128; double uspop = 323; int year = 0; // your code heresystem. out. println("the population of mexico will exceed the u. s. population in " + year + " years"); system. out. println("the population of mexico will be " + mexicopop + " million"); system. out. println("and the population of the u. s. will be " + uspop + " million"); }}

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 19:30
Can you make money in why are you guys so
Answers: 1
question
Computers and Technology, 22.06.2019 01:10
When you reach a yield sign, yield to cross traffic and before you enter the intersection. a. flash your headlights b. wait for a signal c. wait five seconds d. wait for a safe gap
Answers: 1
question
Computers and Technology, 22.06.2019 07:20
Write a pseudocode solution for each of these problems. 1. design a while loop that lets that user enter a number. the number should be multiplied by 10, and the result stored in a variable named product. the loop should iterate as long as product contains a value less than 100. 2. design a do-while loop that asks the user to enter two numbers. the numbers should be added and the sum displayed. the loop should ask the user whether he or she wishes to perform the operation again. if so, the loop should repeat; otherwise it should terminate. 3. design a for loop that displays the following set of numbers: 0, 10, 20, 30, 40, 50 100. 4. design a nested loop that displays 10 rows of # characters. there should be 15 # characters in each row. 5. convert this for loop to a while loop. declare integer count for count = 1 to 50 display count end for 6. find the error in the following pseudocode. declare boolean finished = false declare integer value, cube while not finished display “enter a value to be cubed.” input value; set cube = value ^ 3 display value, “ cubed is “, cube end while
Answers: 2
question
Computers and Technology, 22.06.2019 23:30
Jaina and tomas are being considered as new tenants in an apartment. the landlord looks at their creditworthiness because he wants to be sure his new tenant pays the rent on time and in full. the table below summarizes the information that was on their applications. application information questions jaina tomas how many years have you had your job? 5 2 what is your monthly salary? $1,850 $2,500 how many credit cards do you have? 4 1 how much debt do you have? $13,000 $7,000 how many times were you late with payments on credit cards in the past year? 5 1 who will the landlord decide to be more creditworthy and why? tomas because the ratio of his debt to income is less. jaina because she has had her job longer, which makes her look more stable. jaina because she has more credit cards available to her. tomas because he makes more money per month.
Answers: 2
You know the right answer?
Assume that the population of mexico is 128 million and that the population increases 1.01 percent a...
Questions
question
Mathematics, 17.11.2020 01:10
question
Mathematics, 17.11.2020 01:10
question
Mathematics, 17.11.2020 01:20
question
Mathematics, 17.11.2020 01:20
question
Engineering, 17.11.2020 01:20
question
Mathematics, 17.11.2020 01:20
question
Biology, 17.11.2020 01:30
Questions on the website: 13722361