john purchased a grinder and a mobile for rs . 15000 & rs . 8000 respectively . he sold the grinder at a loss of 5 % and the mobile phone at a profit of 10 % . overall how much he make a profit .
let the sp of the refrigerator and the mobile phone be rs . r and rs . m respectively . r = 15000 ( 1 - 5 / 100 ) = 15000 - 750 m = 8000 ( 1 + 10 / 100 ) = 8000 + 800 total sp - total cp = r + m - ( 15000 + 8000 ) = - 750 + 800 = rs . 50 as this is positive , an overall profit of rs . 50 was made . d
subtract(multiply(10, divide(8000, const_100)), multiply(5, divide(15000, const_100)))