#include int main(void) { int count_year = 0; double pop = 9870.0; while (pop < 30000) { printf("Population is %5.0f\n", pop); pop = pop*.1 + pop; count_year++; } //while printf("It will take %d years.\n", count_year); return 0; } //main