#include <iostream.h>
#include<conio.h>
class CRectangle
{
int width, height;
public:
CRectangle (int,int);
int area () {return (width*height);}
};
CRectangle::CRectangle (int a, int b)
{
width= a;
height = b;
}
void main()
{
clrscr();
CRectangle rect (3,4);
CRectangle rectb (5,6);
cout<< "Rect area: " << rect.area() << endl;
cout << "Rectb area: " << rectb.area() << endl;
getch();
}