Qodea interview question

Fix this code for me