9 persons went to a hotel for taking their meals . 8 of them spent rs . 12 each on their meals and the ninth spent rs . 8 more than the average expenditure of all the 9 . what was the total money spent by them .
solution : let the average expenditure of all the nine be x . then , 12 × 8 + ( x + 8 ) = 9 x . therefore , x = 13 . total money spent , = 9 x = rs . ( 9 × 13 ) = rs . 117 answer : option c
add(add(12, 9), multiply(8, 12))