Capgemini Engineering interview question

write a program to generate n fibonacci numbers.