Pregunta de entrevista de AT&T

Email asking to solve C++ problem