i need the code of this program i'm using TURBO C
in this program i want to print the serial number like that
1, 1, 2, 4, 7, 11, 18, 36, 65, ...
this is the explanation:
The first two terms are arbitrary (the second odd). From the third, if the previous term is odd, is obtained by adding the previous two terms, if even, summing the above three terms.