Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  somy
Language: C/C++
Code:
Program calcul;
var i,f1,f2,f3:integer;
begin
write(‘n=’); readln(n);
f1:=1;
f2:=1;
write (f1,’ ‘,f2,’ ‘);
for i:=3 to n do
begin
f3:=f1+f2;
write (f3,’ ‘);
f1:=f2;
f2:=f3;
end;
end.
Comments: