Pregunta de entrevista de Capital One

Be comfortable with one programming language and write out code to demonstrate the scenario presented.