Complete the fucntion printPopulationData so that it prints out the growth of the world population over the last 300 years. See the sample out as an example of the output.
Example of the program execution. You can test your solution to see if it matches the output