var q,w,a:integer;
begin
q:=1;
a:=1;
while q<=20 do begin
w:=w+q;
a:=a*q;
q:=q+2;
end;
writeln(w);
write(a);
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
var q,w,a:integer;
begin
q:=1;
a:=1;
while q<=20 do begin
w:=w+q;
a:=a*q;
q:=q+2;
end;
writeln(w);
write(a);
end.