Question: Help would be amazing Exercise 5 140 points Consider the following class temReview and class Invemory tem class ItemReview public: /I constructor ItemReview(): _starRating(O), comment(
Exercise 5 140 points Consider the following class temReview and class Invemory tem class ItemReview public: /I constructor ItemReview(): _starRating(O), comment( // get functions int getStarRating[) const string getReviewComment) const // set functions void setStarRatinglint k); void setReviewComment(string c) // destructor ItemReview() private: int starRating:// holds the number of stars, user rating, for a given item or product string comment;// holds the user comment class Inventoryltem public: // constructor Inventoryltem(): _ID(O), _description"'no name"], onHand(0) 0 // get functions int getitemID() const string getltemDescription() const; int getltemAvailability() const // set functions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
