Horje
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)<<endl;
    cout<<"The Area of the Rectangle is "<<length*width<<endl;




Cpp

Related
update variable in const function C++ Code Example update variable in const function C++ Code Example
Find N Unique Integers Sum Up to Zero Code Example Find N Unique Integers Sum Up to Zero Code Example
c++ sort cout end Code Example c++ sort cout end Code Example
\frac{2}{5}MR^2 typed in c++ Code Example \frac{2}{5}MR^2 typed in c++ Code Example
bnchch Code Example bnchch Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9