77 468
Assignments Done
Successfully Done
In July 2019

Answer to Question #16701 in C++ for tend

Question #16701
c++ coding for area of rectangle
Expert's answer


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!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions