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 30 paisa . if the share of y is rs . 45 , what is the total amount ?
"x : y : z = 100 : 45 : 30 20 : 9 : 6 9 - - - 45 35 - - - ? = > 175 answer : c"
add(add(multiply(divide(const_100, 45), 45), multiply(divide(30, 45), 45)), 45)