the cost of 10 kg of apples is equal to the cost of 24 kg of rice . the cost of 6 kg of flour equals the cost of 2 kg of rice . the cost of each kg of flour is rs . 20.50 . find the total cost of 4 kg of apples , 3 kg of rice and 5 kg of flour ?
let the costs of each kg of apples and each kg of rice be rs . a and rs . r respectively . 10 a = 24 r and 6 * 20.50 = 2 r a = 12 / 5 r and r = 61.5 a = 147.6 required total cost = 4 * 147.6 + 3 * 61.5 + 5 * 20.5 = 590.4 + 184.5 + 102.5 = rs . 877.40 answer : b
add(multiply(divide(multiply(24, divide(multiply(6, 20.5), 2)), const_10), 4), add(multiply(divide(multiply(6, 20.5), 2), const_3), multiply(5, 20.5)))