Answer to Question #16701 in C++ for tend
c++ coding for area of rectangle
1
2012-10-17T10:20:09-0400
#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
float length, width, area;
cout << "Enter The Length Of The Rectangle: ";
cin >> length;
cout << "Enter The Width Of Rectangle: ";
cin >> width;
area = length*width;
cout <<"The area of the rectangle is : "<< area << endl;
return 0;
}
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
C++
Comments
Leave a comment