program CountZeros;varnumber, countZeros: integer;
begincountZeros := 0;
write('Enter a number: ');readln(number);
while number > 0 dobeginif number mod 10 = 0 thencountZeros := countZeros + 1;
end;
writeln('Number of zeros in the entered number: ', countZeros);end.
program CountZeros;
var
number, countZeros: integer;
begin
countZeros := 0;
write('Enter a number: ');
readln(number);
while number > 0 do
number := number div 10;begin
if number mod 10 = 0 then
countZeros := countZeros + 1;
end;
writeln('Number of zeros in the entered number: ', countZeros);
end.