A class of 30 girls and 40 boys sponsored a ride.If 60 percent of the girls and 25 percent of the boys went on the ride, what percent of the class went on the ride?

A ) 30%

B ) 35%

C ) 40% ✅

D ) 50%