mr . jones gave 40 % of the money he had to his wife . he also gave 20 % of the remaining amount to his 3 sons . half of the amount now left was spent on miscellaneous items and the remaining amount of rs . 12000 was deposited in the bank . how much money did mr . jones have initially ?
"let the initial amount with mr . jones be rs . x then , ( 1 / 2 ) [ 100 - ( 3 * 20 ) ] % of x = 12000  ( 1 / 2 ) * ( 40 / 100 ) * ( 60 / 100 ) * x = 12000  x = ( ( 12000 * 25 ) / 3 ) = 100000 answer a"
divide(12000, multiply(divide(divide(const_100, const_2), const_100), multiply(subtract(const_1, divide(40, const_100)), subtract(const_1, divide(20, const_100)))))