# Answer to Question #38751 in C++ for Michel1

Question #38751

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.

please send me the answer of code program in 3 hours.i thanks for your help!!!

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.

please send me the answer of code program in 3 hours.i thanks for your help!!!

Expert's answer

## Comments

## Leave a comment