|
Hm, i think it is wrong. If n=190 the fibNum is more than 18 digit, while long int only 18 digit...
n = 190 , fibnum is more than 19 digit while long int has only 18 digit, what is the fibonacci of 100? The answer is 354224848179261915075 and it's more than 19 digit...
I think it is wrong. If(n==190) the answer is more than 19 digit while long only 19 digit...
CMIIW..
Last edited by CaptainMorgan : 08-01-2008 at 09:18 AM.
|