For this lab we will leave it a bit more open ended than we did the last few.
If you look inside the Driver class you will see the name of the class we are missing is called Collatz, so go ahead and create that
Your Collatz class will have 4 methods and 3 class variables.
The class variables are: TAG and stepCount. TAG will be "Collatz: " (for Buell's stuff)
stepCount should be set at 0. You should do that inside of the constructor (method 1) for the Collatz object
The next 2 methods are getStepCount and resetStepCount, both self explanitory
The last method is testTheConjecture that takes a int as a parameter. This is a recursive method, which means it calls itself.
Here is a brief desciption of what the Collatz conjecture is: The Collatz conjecture is that the repeated application of n --> n/2 if n is even 3n+1 if n is odd will always result in the value of n eventually reducing to 1.
Your method will implement this. Basically it will continue to call itself, doing the correct math until the input value is 1. Make sure to increment the step counter
Zip up the folder and submit to dropbox!