I hope this helps

changed some of the ifs to else ifs. I hope this helps