В)var i,p:integer;
begin
i:=10;
p:=0;
while i<=30 do<br> begin
p:=p+i;
i:=i+2;
end;
write('P= ',p);
readln;
end.
б) var i,p:integer;
begin
i:=15;
p:=1;
while i<=30 do <br>begin
p:=p*i;
i:=i+1;
end;
write('P= ',p);
readln;
end.
а) var i,p:integer;
begin
i:=10;
p:=0;
while i<=30 do <br>begin
p:=p+i;
i:=i+1;
end;
write('P= ',p);
readln;
end.