9 friends decided to divide the hotel bill evenly . if the bill was $ 124.15 dollars , how much money did they pay if 1 cent is the smallest unit ?
this is equivalent to finding the first number that is divisible by 9 that occurs after 12415 . in order to divide the sum in 9 parts , the amount must be divisible by 9 divisibility rule of 9 : the sum of the digits must be divisible by 9 sum of digits of 12415 = 13 and 9 is divisible by 9 . hence , we need to remove 4 to this number for it to be divisible by 9 correct option : a
subtract(124.15, divide(const_4, const_100))