I'm working with metrowerks codewarrior to do this program.
This program asks you to create fibonacci sums up to 2^23 and then asks you to do some more stuff after that.
I'm just wondering if you would set up an array or a for or a while loop to complete this program easier and how would you set that up?
Since fibonacci is the last 2 added together to create the next integer i was thinking along the lines of a + b = sum and then save it to part of an array. Then create an if statement after to make it so that when the next integer is bigger than b then it replaces b and the old b replaces a.
Am i thinking along the right lines??