General Motors (GM) interview question

Write a program for fibonacci number