Millennium Interview Question

Code up a function to calculate Fibonacci numbers in cpp