I want to know that is it possible to tell directly the number of steps to reaching 0 from a given number given that a number can be reduce to its half in each step. For Example :
9 step 1:9/2=4 (Integer)
step 2:4/2=2
step 3:2/2=1
step 4:1/2=0
So number of steps 4.
IS there any Direct way for this ????