Hint: you can ask for different sequences of Fibonaci numbers by changing the arguments when you call the compiled program. If you output the compiled program into 11fibo for example you can
11fibo 12 14for example.
By the way here [ fibo.py ] is a translation into Python (without the tracing and counting).
Recode it using pass by value of a pointer. In other words, you may not put & in the header of the function. You must use '*' and '&' as prefix operators in expressions. When the program is changed it still does the same thing.
Link the fixed and the original code to your web page.
. . . . . . . . . ( end of section CSci320 Laboratory 10 Functions in C++) <<Contents | End>>