mohit sold an article for $ 21000 . had he offered a discount of 10 % on the selling price , he would have earned a profit of 8 % . what is the cost price of the article ?
"let the cp be $ x . had he offered 10 % discount , profit = 8 % profit = 8 / 100 x and hence his sp = x + 8 / 100 x = $ 1.08 x = 21000 - 10 / 100 ( 21000 ) = 21000 - 2100 = $ 18900 = > 1.08 x = 18900 = > x = 17500 e"
multiply(divide(subtract(21000, divide(multiply(21000, 10), const_100)), add(const_100, 8)), const_100)