Komentar

Jumat, 05 Juli 2013

Dua Pangkat

Posted by M Habibie 19.47, under | No comments





var
 
n : integer;
 




begin
 
 readln(n);
 
 while (n mod 2 0do
 begin
  n:=n div 2;
 end;
 
 if (n=1then
  writeln('TRUE')
 else
  writeln('FALSE');
 
end.

0 komentar:

Posting Komentar

Your Ip Address

Your IP Address

IP

Popular Post

Popular Posts