Input
Output
#include <iostream> using namespace std; class Rectangle{ public: int length,breadth; float area; Rectangle(int length, int breadth) //Parameterized constructor { cout << "Area of the Rectangle: "; area= length * breadth; cout << area; } }; int main(){ Rectangle r1(4,5); return 0; }