templates1/collatz.scala
changeset 199 54befaf23648
parent 145 d306102fd33b
child 266 ca48ac1d3c3e
--- a/templates1/collatz.scala	Wed Nov 07 12:08:01 2018 +0000
+++ b/templates1/collatz.scala	Thu Nov 08 23:42:03 2018 +0000
@@ -1,7 +1,6 @@
 // Part 1 about the 3n+1 conjecture
 //=================================
 
-object CW6a {
 
 //(1) Complete the collatz function below. It should
 //    recursively calculate the number of steps needed 
@@ -13,7 +12,7 @@
 //def collatz(n: Long) : Long = ...
 
 
-//(2)  Complete the collatz-bound function below. It should
+//(2)  Complete the collatz_max function below. It should
 //     calculate how many steps are needed for each number 
 //     from 1 up to a bound and then calculate the maximum number of
 //     steps and the corresponding number that needs that many 
@@ -25,4 +24,4 @@
 //def collatz_max(bnd: Long) : (Long, Long) = ...
 
 
-}
+