Write a program to implement the 3n + 1 algorithm described in the previous exercise. The user will input n and your program should return the length L(n) and the terminating value T(n) of the 3n + 1 algorithm. Use your program to create a table giving the length and terminating value for all starting values 1 ≤ n ≤ 100.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.