What have you tried? Where are you stuck? Do you know how to write loops? We are not a code service and won't do someone else's homework. Break the problem down by the requirements, and take it one...