ii=1;                                          % p25_what.m
sum=0;
n=input('enter n= ');
while (ii <=n)
  sum = sum +1;
  ii = ii *2;
end
fprintf('n= %d sum=%d ii = %d\n',n,sum,ii);
