john purchased a grinder and a mobile for rs . 15000 & rs . 8000 respectively . he sold the grinder at a loss of 4 % and the mobile phone at a profit of 15 % . 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 - 4 / 100 ) = 15000 - 600 m = 8000 ( 1 + 15 / 100 ) = 8000 + 120 total sp - total cp = r + m - ( 15000 + 8000 ) = - 600 + 1200 = rs . 600 as this is positive , an overall profit of rs . 600 was made . c"
subtract(multiply(15, divide(8000, const_100)), multiply(4, divide(15000, const_100)))