I want to have a code to this problem in C++.

please help me!!!

Here the problem!!!

"The rate of increase in population of a certain kind of bacteria is proportional to the population at any time. if in the last eight years, the population increased from 50000 to 120000,what will be the population of bacteria 16 years from now??"