Month 5

Classic programmed-learning exercises, refreshed for modern Java and presented in the current MrStyner.com portfolio style.

Modern Java noteThis archive has been refreshed for Java 25 LTS. Core language concepts remain useful, while outdated setup instructions and browser-era Java are labeled or replaced. Java 26 is the current feature release; Java 25 is used here as the stable teaching baseline.

How many mature female rabbits are there at the start of month 5?

Answer:

2

Month 5

Month 5 starts out with three rabbits (the number under month 4) two of which are mature (the number under month 3). During the month the mature rabbits give birth to one baby each. The chart shows the total of five rabbits at the end of the month.

N12345 678910
Females11235      
   ** ***        
                   **   — Mature females at start of month 5
                   ***  — Total females at start of month 5

At the end of month 5 there are five female rabbits.

QUESTION 13:

How many total female rabbits are there at the end of month 6?