program a1;
var a,b: integer;
begin
for a := 33 to 38 do
b:= b + (a*a);
end;
writeln (b);
end.
program a2;
a:= 33;
while a < 39 do
a:= a+1;
Объяснение:
program a1;
var a,b: integer;
begin
for a := 33 to 38 do
begin
b:= b + (a*a);
end;
writeln (b);
end.
program a2;
var a,b: integer;
begin
a:= 33;
while a < 39 do
begin
b:= b + (a*a);
a:= a+1;
end;
writeln (b);
end.
Объяснение: