Pergunta de entrevista da empresa Cognizant

Code for Fibonacci series and factorial