a certain fruit stand sold apples for $ 0.80 each and bananas for $ 0.70 each . if a customer purchased both apples and bananas from the stand for a total of $ 7.30 , what total number of apples and bananas did the customer purchase ?
"let ' s start with 1 apple for $ 0.80 . let ' s subtract $ 0.80 from $ 7.30 until we get a multiple of $ 0.70 . $ 7.30 , $ 6.50 , $ 5.70 , $ 4.90 = 7 * $ 0.70 the customer purchased 7 bananas and 3 apples . the answer is b ."
add(divide(subtract(7.30, multiply(0.80, const_2)), 0.70), const_2)