Pergunta de entrevista da empresa Hexaware Technologies

One coding question based on loops, input output and conditional statements.