#include
#include CRectangle.h
using namespace std;
void CRectangle::setValues(int w, int h)
{
this->width = w;
this->height = h;
}
CRectangle dupAndDouble(CRectangle other)
{
CRectangle copy;
copy.width = other.width * 2;
copy.height = other.height * 2;
return copy;
}
void CRectangle::convert(CSquare sqr)
{
this->width = sqr.side;
this->height = sqr.side;
}

![[SOLVED] CS #include](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip.jpg)

![[Solved] Program6_1.py](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip-1200x1200.jpg)
Reviews
There are no reviews yet.