Cognizant interview question

Write a C++ program for getting the Fibonacci series?