Ответ:
1.
var i, k:Integer;
begin
k:=0;
for i:=100 to 999 do begin
if i mod 3 = 0 then
k:=k+1;
end;
write(k);
end.
2.
var i:Integer;
for i:=10 to 300 do begin
if i mod 2 = 0 then
writeln(i);
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
1.
var i, k:Integer;
begin
k:=0;
for i:=100 to 999 do begin
if i mod 3 = 0 then
k:=k+1;
end;
write(k);
end.
2.
var i:Integer;
begin
for i:=10 to 300 do begin
if i mod 2 = 0 then
writeln(i);
end;
end.