LOVEGUN

Fonction Suite Fibanacci

Jan 14th, 2021 (edited)
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.13 KB | None | 0 0
  1. Function Suite_Fibonacci (t:tab;i:LongInt):longint;
  2. Var x:longint;
  3. Begin
  4.   x := t[i-1]+t[i-2];
  5.   Suite_Fibanacci := x;
  6. End;
Add Comment
Please, Sign In to add comment