#include #include "stdafx.h" using namespace System; using namespace std; int main() { int plot, perim, a, b; cout << "Rectangle width:" << endl; cin >> a; cout << "Rectangle length:" << endl; cin >> b; plot = a * b; perim = 2 * a + 2 * b; cout << "Rectangle area: " << plot << ", perimeter: " << perim << endl; cin >> a; }