Cognizant Interview Question

Asked to program a Fibonacci sequence