//DISPLAY 15.10 Implementation of the Base Class Sale //This is the implementation file: sale.cpp //This is the implementation for the class Sale. //The interface for the class Sale is in //the header file sale.h. #include "sale.h" namespace salesavitch { Sale::Sale() : price(0) {} Sale::Sale(double the_price) : price(the_price) {} double Sale::bill() const { return price; } double Sale::savings(const Sale& other) const { return ( bill() - other.bill() ); } bool operator < (const Sale& first, const Sale& second) { return (first.bill() < second.bill()); } }//salesavitch