Pregunta de entrevista de Virtusa

Some basic programming questions.