SStride Websoft Interview Question

Fix this code, please.