Pregunta de entrevista de Blackbaud

Basic coding question with choice of language.