Question: A biological application is used to predict the approximate size of a population of organisms. Design the logic for this application such that it: a.
A biological application is used to predict the approximate size of a population of organisms. Design the logic for this application such that it:
a. Allows the user to enter
1. The starting number of organisms
2. The average daily increase in the population(this is a percentage, prompt the user to enter the percentage itself, not a decimal fraction i.e. if the daily increase is 5% they should enter simply 5)
3. the number of days the organisms will be be left to multiply.
b. Calculate the increased population for each day and outputs both the day and the population that day, for the entire period that the organisms will be allowed to grow.
c. Finally, outputs the overall percentage increase in population from the first day to the last.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
