error msgs added for if number is not divisible by 3 and, or 5