/* * * 7.37 * * */ /* class Sales_data { public: // defines the default constructor as well as one that takes a string argument Sales_data(std::string s = ""): bookNo(s) { } // remaining constructors unchanged Sales_data(std::string s, unsigned cnt, double rev): bookNo(s), units_sold(cnt), revenue(rev*cnt) { } Sales_data(std::istream &is) { read(is, *this); } // remaining members as before }; */ /* Sales_data first_item(cin); // Sales_data(std::istream &is) { read(is, *this); } int main() { Sales_data next; // Sales_data(std::string s = ""): bookNo(s) { } Sales_data last("9-999-99999-9"); // Sales_data(std::string s = ""): bookNo(s) { } } */ int main () { return 0; }