Program to find the area of rectangle
area=l*b
#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;
}
Tags:
Cplus
#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;
}