Sis B.

asked • 06/27/22

Using Counted loops with list for this scenario

Suppose there is an island with two rabbits (male and female). Every 30 days, the population of rabbits doubles. Write a program that has the user input the number of days and then calculate the new population. Use a counted loop.

Extension:

(a) Let the user specify the initial population of the island.

(b) Let the user specify how many days it takes for the population to double.

 


2 Answers By Expert Tutors

By:

Donald W. answered • 06/27/22

Tutor
5.0 (214)

Personalized tutoring in Math and Computer Science

Sis B.

This code doesn't work
Report

06/27/22

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.