Post History
shortC, 47 bytes a,b;AOK"%d",&b);b-1;b=b%2?b*3+1:b/2)a++;R"%d",a Try it online! From @ugoren's C answer from CGCC.
Answer
#1: Initial revision
# [shortC], 47 bytes a,b;AOK"%d",&b);b-1;b=b%2?b*3+1:b/2)a++;R"%d",a [Try it online!][TIO-kubcdlty] From [**@ugoren**](https://codegolf.stackexchange.com/users/3544/ugoren)'s C [answer](https://codegolf.stackexchange.com/a/12190/99626) from [CGCC](https://codegolf.stackexchange.com/). [shortC]: https://github.com/aaronryank/shortC [TIO-kubcdlty]: https://tio.run/##K87ILypJ/v8/USfJ2tHfW0k1RUlHLUnTOknX0DrJNknVyD5Jy1jb0CpJ30gzUVvbOgisIvH/fyMA "shortC – Try It Online"