a man sells an article at a profit of 25 % . if he had bought it at 20 % less and sold it for rs . 8.40 less , he would have gained 30 % . find the cost of the article .
"let c . p = 100 gain = 25 % s . p = 125 supposed c . p = 80 gain = 30 % s . p = ( 130 * 80 ) / 100 = 104 diff = ( 125 - 104 ) = 21 diff 21 when c . p = 100 then diff 8.40 when c . p = ( 100 * 8.40 ) / 21 = 40 answer : b"
divide(multiply(8.40, const_100), subtract(add(25, const_100), divide(multiply(add(30, const_100), subtract(const_100, 20)), const_100)))