Joe is considering purchasing AutoParts,
a local supplier of auto parts.
He is analyzing
revenue figures for the past year.
AutoParts claims it received $828,974.56
last year based on the credit card and price
information presented in
cc.dat.
However, Joe has heard rumors that AutoParts
has had problems with fake credit cards.
Joe also knows that if he accepts
cards of "unknown" type
(not one of: Visa, MC, Amex, Discover, or Diner's Club)
he must pay an additional 2% fee
to his credit card processing company.
Joe would like to know the value of the actual sales so he can take this figure to the bargaining table.