Answer to Question #324000 in C for Niri

Question #324000

Write a program that will predict the size of a population of red ants. The



program should ask the user for the starting number of red ants e.g. 2,000,000,



their average daily population increase as a percentage of current population



e.g., 5%, and the number of days they will multiply e.g. 10 days. Use a do while



to display the size of the population for each day.



Draw a flow chart and write down a pseudo code before attempting this



number.



Input Validation:



Do not accept a number less than two for the starting size of the population.



Do not accept a negative number for average daily population increase.



Do not accept a number less than one for the number of days they will



multiply.


0
Service report
It's been a while since this question is posted here. Still, the answer hasn't been got. Consider converting this question to a fully qualified assignment, and we will try to assist. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS