there are 3 departments having students 72 , 5824 . in an exam they have to be seated in rooms such that each room has equal number of students and each room has students of one type only ( no mixing of departments ) . find the minimum number of rooms required ?
we need to take gcd which is 2 thus all the rooms will have 2 students of the same dept 1 ) 72 / 2 = 36 2 ) 58 / 2 = 29 3 ) 24 / 2 = 12 total no . of min rooms reqd = 36 + 12 + 29 = 77 answer : e
add(add(divide(72, const_2), const_12), divide(add(add(divide(72, const_2), const_12), const_10), const_2))