// rectangle.h // Header file for rectangle class // Example for COSC 251 // Alan Jamieson // Spring 2008 class rectangle{ public: int geth(); //accessor for height int getw(); //accessor for width void seth(int); //mutator for height void setw(int); //mutator for width int area(); rectangle(); //default constructor rectangle(int, int); //constructor to set h and w private: int height; int width; };