[SOLVED] A program with all intergers yielding aresult of 1

16.00 $

Category:

Description

5/5 - (1 vote)

Write a C program. All positive integers eventually yield a result of 1 when the following process is applied- if integer is even divide by 2, if integer is odd times by3 and add 1, repeat for resulting value.