There is another side to this. In upper level mathematics courses providing answers to all (or even most) of the questions actually does a disservice to the students. It teaches the important skill of deciding if you got the answer right which is probably more useful in research/the real world.