Pregunta de entrevista de Dorabot

c++ coding test with straightforward instructions