Coffee beans are $8 a pound, but there is a 10% discount on the total order if you buy more than 5 pounds.
Write a code segment that sets the price based on the number of pounds.
Assume that the price and pounds can each have a fractional part.
   price = 8*pounds;
   if (pounds > 5)
      price = 0.9*price;