Softwire interview question

technical interview fix code exc