program summa;
var
sum:BigInteger;
i,n:integer;
begin
write ('n = ');
readln(n);
sum:=0;
i:=1;
while i<= n do begin </strong>
sum:=sum+i;
i:=i+1;
end;
writeln('Sum = ',sum);
end.
================================
program krugi;
uses graphabc;
var
x,y,r:integer;
begin
setBrushColor(clGreen);
x:=22; y:=22; r:=20;
while x<660 do begin </strong>
circle(x,y,r);
x:=x+40;
end;
end.
==============================
program factorial;
var
pr:BigInteger;
i,n:integer;
begin
write ('n = ');
readln(n);
pr:=1;
i:=1;
while i<= n do begin </strong>
pr:=pr*i;
i:=i+1;
end;
writeln('Факториал числа n! = ',pr);
end.