a shopkeeper has 280 kg of apples . he sells 30 % of these at 20 % profit and remaining 60 % at 30 % profit . find his % profit on total .
"if the total quantity was 100 then 30 x 20 % + 60 x 30 % = 24 this profit will remain same for any total quantity unless the % of products remains the same . hence ' a ' is the answer"
divide(multiply(subtract(add(multiply(divide(multiply(280, 30), const_100), divide(add(const_100, 20), const_100)), multiply(divide(multiply(280, 60), const_100), divide(add(const_100, 30), const_100))), 280), const_100), 280)