The world population reached 6.83 billion people in January 2010 and was growing at the rate of 1.12% each year. Assuming that the population will continue to grow at the same rate, in how many years will the population first reach 10 billion? When will it reach 15 billion?
Please write an App to solve this problem. Your code should have good comments and a nice intuitive user interface.