32% of 7th-grade campers preferred the mountains.
This can be calculated by taking the number of 7th-grade students who preferred mountains (40) and dividing it by the total number of students in 7th grade (100).
40/100 = 0.4
0.4 * 100 = 40%
Therefore, 32% of 7th-grade campers preferred the mountains.