C++ Programming Code Examples C++ > Computer Graphics Code Examples The area of the rectangle is the length multiplied by the width. The area of the rectangle is the length multiplied by the width. Area Of Rectangle Formula A=l*b where, A=Area l=length b=breadth #include <iostream> #include<conio.h> #include<stdlib.h> using namespace std; int main() { // Declare Variables int length, breadth, area; cout << "Simple C++ Program : Area Of Rectangle\n"; cout << "\nEnter the Length of Rectangle : "; cin>>length; cout << "\nEnter the Breadth of Rectangle : "; cin>>breadth; area = length * breadth; cout << "\nArea of Rectangle : " << area; getch(); return (0); }