Cognizant interview question

Asked me to write Fibonacci code