Hey,
The Fibonacci Sequence is defined such that the first two numbers of
the sequence are 0 and 1. subesequent numbers are the sum of the
previous two. e.g.
0, 1, 1, 2, 3, 5, 8, 13 ......
try this for code (googled it)
http://cubbi.org/serious/fibonacci/c++.html
A search returns the N'th fibonacci number (the URL codes it up for
you).
good luck.
G