Program to find the area of rectangle using C++

              Program to find  the area of rectangle

                                                                         area=l*b

Program- to- find-  the -area- of- rectangle-  using -C++


#include<iostream>

using namespace std;

int main()

{

int l,b,area;

cout<<"enter the value od l and b"<<endl;

cin>>l>>b;

area=l*b;

cout<<"the area of rectangle is "<<area;

return 0;

}

Previous Post Next Post

Contact Form