a sum of rs . 395 was divided among a , b , and c in such a way that b gets 25 % more than a and 20 % more than c . what is the share of a ?
let each one ’ s share is a , b and c respectively , then b = 125 a / 100 = 120 c / 100 a = 100 b / 125 = 4 / 5 b , c = 100 b / 120 = 5 / 6 b 4 / 5 b + b + 5 / 6 b = 395 , 79 b / 30 = 395 , b = 395 * 30 / 79 = 150 a = 4 * 150 / 5 = 120 answer : d
multiply(divide(subtract(const_100, 25), const_100), divide(395, add(add(divide(subtract(const_100, 25), const_100), divide(subtract(const_100, 20), const_100)), const_1)))