CarMax interview question

Role playing case. General programming.