Код программы:
program learning;
var a, c: Integer;
begin
c:= 0;
readln(a);
while(a mod 2 = 0)
do begin
a:= a mod 2;
c:= c+1;
end;
writeln(c);
end.
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
Код программы:
program learning;
var a, c: Integer;
begin
c:= 0;
readln(a);
while(a mod 2 = 0)
do begin
a:= a mod 2;
c:= c+1;
end;
writeln(c);
end.