Переведите в C++. var n,k,n2:int64;

begin

read(n);

k:=0;

n2:=1;

while n2<=n do

begin

n2:=n2*2;

k:=k+1;

end;

write(k);

end.
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Copyright © 2024 SCHOLAR.TIPS - All rights reserved.