a sun is divided among x , y and z in such a way that for each rupee x gets , y gets 50 paisa and z gets 40 paisa . if the share of x is rs . 30 , what is the total amount ?
"x : y : z = 100 : 50 : 40 10 : 5 : 4 10 - - - 30 19 - - - ? = > 57 answer : e"
add(add(multiply(divide(const_100, 50), 30), multiply(divide(40, 50), 30)), 30)