Pregunta de entrevista de Cognizant

Code for Fibonacci series and factorial