Pregunta de entrevista de Cognizant

write code to reverse string accept user input