Blackbaud Interview Question

Basic coding question with choice of language.