program SumOfOddSquares;
vari, sum, oddNumber: integer;
beginsum := 0;oddNumber := 1;
for i := 1 to 7 dobeginsum := sum + oddNumber * oddNumber;oddNumber := oddNumber + 2;end;
writeln('Сумма 7 квадратичных нечетных чисел с 1: ', sum);end.
program SumOfOddSquares;
var
i, sum, oddNumber: integer;
begin
sum := 0;
oddNumber := 1;
for i := 1 to 7 do
begin
sum := sum + oddNumber * oddNumber;
oddNumber := oddNumber + 2;
end;
writeln('Сумма 7 квадратичных нечетных чисел с 1: ', sum);
end.