a person distributed 15 % of his income to his 3 children each . he deposited 30 % of his income to his wife ' s account . he donated 10 % of remaining amount to an orphan house . finally he has $ 40000 . find his total income ?
3 children got = 3 * 15 % = 45 % wife got = 30 % orphan house = 10 % total = 45 + 30 + 10 = 85 % remaining = 100 - 85 = 15 % 15 % = 40000 100 % = 40000 * 100 / 15 = $ 266666.7 answer is a
multiply(divide(40000, subtract(const_100, add(add(multiply(15, 3), 30), 10))), const_100)