a , b , c subscribe rs . 50000 for a business . a subscribes rs . 4000 more than b and b rs . 5000 more than c . out of a total profit of rs . 35000 , c receives :
let c = x . then , b = x + 5000 and a = x + 5000 + 4000 = x + 9000 . so , x + x + 5000 + x + 9000 = 50000 3 x = 36000 x = 12000 a : b : c = 21000 : 17000 : 12000 = 21 : 17 : 12 . c ' s share = rs . ( 35000 x 12 / 50 ) = rs . 8,400 . d
divide(subtract(divide(multiply(divide(divide(subtract(50000, add(add(4000, 5000), 5000)), const_3), 50000), 35000), const_4), const_100), const_10)