a merchant has 1000 kg of sugar part of which he sells at 8 % profit and the rest at 18 % profit . he gains 14 % on the whole . the quantity sold at 18 % profit is
explanation : by the rule of alligation , we have profit % by selling 1 st part profit % by selling 2 nd part 8 18 net % profit 14 18 - 14 = 4 14 - 8 = 6 = > quantity of part 1 : quantity of part 2 = 4 : 6 = 2 : 3 total quantity is given as 1000 kg so quantity of part 2 ( quantity sold at 18 % profit ) = 1000 × 35 = 600 kg answer : option c
multiply(multiply(add(const_2, const_3), const_2), multiply(subtract(add(divide(14, const_100), const_1), add(const_1, divide(8, const_100))), 1000))