Pergunta de entrevista da empresa Chevron

Write a program to calculate the nth fibonacci number