Problem solved thanks for your help everyone, I'm not what I did but the fans working great. I took the fan out to inspect the leads and the connector on the motherboard for damages when I couldn't find anything I put it back together and now the fans work. What did I do?
I have already had the fan out to clean it which was unsuccessful. I started to think the fan might need replaced but I was talking to a worker at the computer shop that I'm doing work experience at, he said there is a possibility that it could be a problem with the motherboard.