Cognizant interview question

fibonacci series for programming only