a sun is divided among x , y and z in such a way that for each rupee x gets , y gets 45 paisa and z gets 50 paisa . if the share of y is rs . 18 , what is the total amount ?
"x : y : z = 100 : 45 : 50 20 : 9 : 10 9 - - - 18 39 - - - ? = > 78 answer : d"
add(add(multiply(divide(const_100, 45), 18), multiply(divide(50, 45), 18)), 18)