Question: I need help ASAP on this C++ Programming assignment: The population of a town A is less than the population of town B. However, the

I need help ASAP on this C++ Programming assignment:

The population of a town A is less than the population of town B. However, the population of town A is growing faster than the population of town B. Write a program that prompts the user to enter the population and growth rate of each town. The program outputs after how many years the population of A will be greater or equal to the population of town B and the populations of both towns at that time. (A sample input is: Population of town A = 5000, growth rate of A = 4%, population of B = 8000, and growth rate of town B = 2%)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!