#include<bits/stdc++.h> using namespace std; class rectangle{ private: int length,width; public: rectangle(int x,int y){ length=x; width=y; } void set(int x,int y){ length=x; width=y; } int getlength(){ return length; } int getwidth(){ return width; } in...