Ad
  • Custom User Avatar

    Go check out the example they give in the instructions that's similar to this test except for the desired population (1200 in example, 1214 in test). Notice they don't return a float for their population after every year of growth.

  • Custom User Avatar

    Not an issue, read this again:

    1070 + 1070 * 0.02 + 50 => 1141 inhabitants (number of inhabitants is an integer)

    You're working with floats there.