C++ Area and Perimeter of a Rectangle Code Example
C++ Area and Perimeter of a Rectangle
float length,width;
cout<<"Enter the length: ";
cin>>length;
cout<<"Enter the width: ";
cin>>width;
cout<<"The Perimeter of the Rectangle is "<<(2*length)+(2*width)<