Please correct my code as it is not giving correct answer


please correct my code and send the corrected link
i have got frustrated so please solve As soon as possible and send the corrected link as the previous time one of your mentors sent a solution that was not working