Task: Code Assignment
Provide the definitions for the following class declaration and then write a program that demonstrates usage of each member function using the test data of 10 for width and 8 for
height. Remember to put your main program, class header and class source into separate files.
Only provide code for the methods specified in the class declaration. Note that the displayRectangle() method should output an appropriate ‘box’, its dimensions, area and perimeter to the screen.
class Rectangle
{
public:
Rectangle(int height, int width);
~Rectangle(void);