the average marks of a class of 40 students is 44 and that of another class of 45 students is 70 . find the average marks of all the students ?
"sum of the marks for the class of 40 students = 40 * 44 = 1760 sum of the marks for the class of 45 students = 45 * 70 = 3150 sum of the marks for the class of 85 students = 2760 + 3150 = 5910 average marks of all the students = 5910 / 85 = 69.5 . answer : d"
divide(add(multiply(40, 44), multiply(45, 70)), add(40, 45))