There are 2 sections A and B in a class, consisting of 24 and 16 students respectively. If the average weight of section A is 40kg and that of section B is 35kg, Find the average of the whole class? Choose the correct option:
A) 35.29 kg
B) 37.25 kg
C) 42 kg
D) 38 kg
E) 29.78 kg

Rationale: "total weight of 36 + 44 students = 24 * 40 + 16 * 35 = 1520 average weight of the class is = 1520 / 40 = 38 kg answer is d"
Answer: D