a man spend 1 / 5 of his salary on food , 1 / 10 of his salary on house rent and 3 / 5 salary on clothes . he still has $ 18000 left with him . find salary . .
"[ 1 / ( x 1 / y 1 + x 2 / y 2 + x 3 / y 3 ) ] * total amount = balance amount [ 1 - ( 1 / 5 + 1 / 10 + 3 / 5 ) } * total salary = $ 18000 , = [ 1 - 9 / 10 ] * total salary = $ 18000 , total salary = $ 18000 * 10 = $ 180000 , correct answer ( c )"
divide(18000, subtract(1, add(add(divide(1, 5), divide(1, 10)), divide(3, 5))))