lovlly bersbe

lovlly bersbe

  • NA
  • 20
  • 8.6k

code for c# prog.

Aug 21 2014 9:17 AM
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)