Building 200 robots starting with 1 robot, how?
<p>I have an assignment to write a code that starts with 1 robot and I need to find out how many months it takes to get up to 200 robots.</p>

<p>Conditions:</p>

<p>Starting with 1 robot, this robot gathers materials for 2 months. With these materials it can build 3 robots, 1 robot each month. So the cycle for one robot is 5 months long. And of course the newly built robots also gathers materials for 2 months and then builds 3 robots each, and so on...</p>

<p>The only tip I have is that it should be done using 3 variables. 2 for each gathering month and 3 for each building month.</p>

<p>This is done in Java. Thanks in advance!</p>
