goncrazybbaksoon
Programmer
I have an assignment to write a program that uses less than 10 lines of code to print out the Fibonacci numbers....i.e.1,1,2,3,5,8,13,21,34,55,89,etc....but for the life of me, I can't find the logic on this one. The instructor said I can do it using only two variables, but I just can't seem to get this! Can anyone help?