Question: in Java form Question 3: Write a program that calculates the size of a population of rabbits. The program should prompt the user to enter

 in Java form Question 3: Write a program that calculates the

in Java form

Question 3: Write a program that calculates the size of a population of rabbits. The program should prompt the user to enter the starting number of rabbits (if you entered a negative value, the program should prompt you to re-enter), the daily population increase (if you entered a negative value, the program should prompt you to re- enter), and the number of days (if you entered a negative value, the program should prompt you to re-enter). For example, if you enter the following data: Starting number of rabbits: 2 daily increase (%): 30 Number of days to multiply: 5 Your result should look like below: Day Population 1 2 3 4 5 2.60 3.38 4.39 5.71 7.43

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!