Cognizant Interview Question

write a code for printing fibonacci numbers?