Given the following class definition: class Rectangle{  priv…

Given the following class definition: class Rectangle{  private:    int width;    int height;  public:    void setWidth(const int w);    void setHeight(const int h);    int getWidth() const;    int getHeight() const;}; Write the complete definition of the member function getHeight that includes the function header and code to implement the function.

Given the following class definition: class Rectangle{  priv…

Given the following class definition: class Rectangle{  private:    double width;    double height;  public:    void setWidth(const double w);    void setHeight(const double h);    double getWidth() const;    double getHeight() const;}; Write the complete definition of the member function setWidth that includes the function header and code to implement the function.

You want to define a C++ class to represent customers for a…

You want to define a C++ class to represent customers for a company. You decide to define three data members to hold the customer ID number (an alphanumeric value),  customer gender (a single letter, i.e. F for female and M for male), and maximum dollar amount that they have ever ordered. What would be the appropriate data types needed to define each of the three instance variables, respectively?