#ifndef PRODUCT_H
#define PRODUCT_H
#include <string>
using namespace std;

class Product {
public:
   /**
      Constructs a product with zero price and score.
   */
   Product();
   /**
      Reads in this product object.
   */   
   void read();
   /**
      Compares two product objects.
      @param b the object to compare with this object
      @retur true if this object is better than b
   */
   bool is_better_than(Product b) const;
   /**
      Print this product object
   */
   void print() const;
private:
   string name;
   double price;
   int score;
};
#endif