Simplify360 interview question

Basic based on preferred programming language