program Fibonacci;
varn, a, b, c, i: integer;
begina := 1;b := 1;c := 0;
writeln('Первые 15 чисел Фибоначчи:');writeln(a);writeln(b);
for i := 3 to 15 dobeginc := a + b;writeln(c);a := b;b := c;end;end.
program Fibonacci;
var
n, a, b, c, i: integer;
begin
a := 1;
b := 1;
c := 0;
writeln('Первые 15 чисел Фибоначчи:');
writeln(a);
writeln(b);
for i := 3 to 15 do
begin
c := a + b;
writeln(c);
a := b;
b := c;
end;
end.