andrew purchased 10 kg of grapes at the rate of 82 per kg and 6 kg of mangoes at the rate of 62 per kg . how much amount did he pay to the shopkeeper ?
"cost of 10 kg grapes = 82 × 10 = 820 . cost of 6 kg of mangoes = 62 × 6 = 558 . total cost he has to pay = 820 + 558 = 1378 c"
add(multiply(10, 82), multiply(6, 62))