Search for question
Question

Problem 7.3

Now write a program that lets the user type in an integer and that keeps calling collatz ()

on that number until the function returns the value 1. You may have to restart the kernel, if the

program hangs up (see last lecture notes). Hint: Recall the break statement