computing a sum is for for figuring out the cost of a purchase