a vendor sells 60 percent of apples he had and throws away 15 percent of the remainder . next day he sells 50 percent of the remainder and throws away the rest . what percent of his apples does the vendor throw ?
explanation : let , the number of apples be 100 . on the first day he sells 60 % apples i . e . , 60 apples . remaining apples = 40 . he throws 15 % of the remaining i . e . , 15 % of 40 = 6 . now he has 40 − 6 = 34 apples the next day he throws 50 % of the remaining 34 apples i . e . , 17 . therefore , in total he throws 6 + 17 = 23 apples . answer : b
add(multiply(subtract(const_100, 60), divide(15, const_100)), multiply(divide(50, const_100), subtract(subtract(const_100, 60), multiply(subtract(const_100, 60), divide(15, const_100)))))