Page 247 -
P. 247

test drive



                     Test Drive





           Let’s try running the new program and buy a $1.20 muffin without
           a discount card.























                                                       00001085413765853576543            MUFFIN
           But what if you try to buy a $2.20 latte using a
           Starbuzz card?                             It cost $1.08 = 90% of $1.20.               It's a muffin.























                                                       00001885413765835766543            LATTE
           The code works! With the Starbuzz card, it applies
           two discounts. Without a Starbuzz card, your code
           just applies one.                                 90% of $2.20 = $1.98.                 It's a latte.
                                                             5% Starbuzz discount
           212    Chapter 6                                  of that gives $1.88!
   242   243   244   245   246   247   248   249   250   251   252