var
N, i, x, counter : integer;
begin
counter := 0;
write('Введите количество чисел: ');
read(N);
for i := 1 to N do
readln(x);
if x mod 4 = 0 then
counter := counter + 1;
end;
writeln(counter);
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
var
N, i, x, counter : integer;
begin
counter := 0;
write('Введите количество чисел: ');
read(N);
for i := 1 to N do
begin
readln(x);
if x mod 4 = 0 then
counter := counter + 1;
end;
writeln(counter);
end.