3
Answers

code for c# prog.

Photo of lovlly bersbe

lovlly bersbe

10y
3.3k
1
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 town a will be greater than or equal to the population of town b and the population of both the towns at that time.( a sample input is population of town a = 5000, growth rate of town a =4%, population of town b = 8000, and growth rate of town b=3%).

Answers (3)