[SOLVED] CS #include

$25

File Name: CS_#include.zip
File Size: 103.62 KB

5/5 - (1 vote)

#include

#include CRectangle.h
using namespace std;

int main(){
CRectangle rectA, rectB;
rectA.setValues(10, 10);

rectB = dupAndDouble(rectA);
cout << “rectA area ” << rectA.area() << endl;cout << “rectB area ” << rectB.area() << endl;CSquare sqr;sqr.setSide(10);CRectangle rectC;rectC.convert(sqr);cout << “rectC area ” << rectC.area() << endl;return 0;}

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS #include
$25