Before:

double computeCost( double price, int quantity, string name )
{
   // Compute the cost of purchase
   double cost = price * quantity;

   // Compute and add taxes
   cost *= (1 + TAX_RATE);

   // Return the cost
   return cost;
}