a candidate who gets 20 % of the marks fails by 40 marks . but another candidate who gets 30 % marks gets 20 marks more than necessary for passing . find the number of marks for passing ?
"20 % - - - - - - - - - - - - 40 30 % - - - - - - - - - - - - 20 - - - - - - - - - - - - - - - - - - - - - - 10 % - - - - - - - - - - - - - 60 20 % - - - - - - - - - - - - - - 120 120 + 40 = 160 marks answer : d"
add(multiply(divide(add(40, 20), subtract(divide(30, const_100), divide(20, const_100))), divide(20, const_100)), 40)