Problems
Receive a natural number N not greater than 1,000,000 as input, and write a program using a recursive function that repeatedly divides the number by 2 if it is even, or by 3 if it is odd, and when the value becomes 1, prints the number of division operations performed up to that point.
Example
100
6
Source
자기주도C언어프로그래밍