Page

Sunday, 17 June 2018

program to find area of rectangle in c++


#include<iostream.h>
#include<conio.h>
int main()
{
clrscr();
int a,b,rectangle;
cout<<"enter the value a:";
cin>>a;
cout<<"enter the value b:";
cin>>.b;
rectangle = a * b;
cout<<"the required rectangle:";
cout<<rectangle;
getch();
return(0);
}



No comments:

Post a Comment