-->
|
|
|
>> 9 . |
|
2.4. ,.: function <_> (< >):
. , . . . , , , . <_>:=<>. , ( if, while, until) write .
) , b, ;
. /(n) n. , ƒ(1) = 1, ƒ(2) = 1, ƒ(3) = 2. , , : ƒ(4) = 3. , , , : ƒ(5) = ƒ(4) + ƒ(3) = 3 + 2 = 5. : ƒ(n) = ƒ(n - 1) + ƒ(n - 2), n ≥ 3.
. function f (n: integer): integer;
.
|
|
|