fibonnacci

hey guys first post

i had a dillema in my code where i was not able to show the big integer of my sequnece after a certain number and was wondering what i could use to make the rest of my numbers appear

here is what i am getting when i try to find fibonacci number up to 50

40. 102334155
41. 165580141
42. 267914296
43. 433494437
44. 701408733
45. 1134903170
46. 1836311903
47. -1323752223
48. 512559680
49. -811192543
Press any key to continue . .

I should be getting

47. 2971215073
48. 4807526976
49. 7778742049

my program is implemented with classes and an earray to store the numbers

any help appreciated
post the main code,please.
Topic archived. No new replies allowed.