program raf105;
var
n: integer;
begin
write('n = ');
readln(n);
for n:=0 to n do
if (n mod 2 = 0) and (n <> 0) then
write(n,' ');
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
program raf105;
var
n: integer;
begin
write('n = ');
readln(n);
for n:=0 to n do
if (n mod 2 = 0) and (n <> 0) then
write(n,' ');
end.
PascalABC