site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Share Topic
Posting?
Post a:
Post a:
Links: ·How To Get Noticed ·Web Monks FAQ ·Webhosting FAQ ·Posting Code ·How To Post ·Webhosting forum
AuthorAll Replies


cdru
Go Colts
Premium,MVM
join:2003-05-14
Fort Wayne, IN
kudos:7

reply to cplusnoob

Re: Please help me understand this function

You're code was mangled. Be sure to place all your code between [code ] [/code ] brackets, minus the spaces.

The function that you look like you will have will compute a Fibonacci number. It's value is given by F(n) = F(n-1) + F(n-2) with seed values F(0) = 0 and F(1) = 1. F(n-1) and F(n-2) are recursively called and then the sums are added up.

Wednesday, 22-May 09:44:05 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 13.5 years online © 1999-2013 dslreports.com.
Most commented news this week
Hot Topics