
write a programme that calculates the area and circumference of a rectangle

#include <stdio.h>
#include <conio.h>
#include <iostream.h>
void main()
{
int breadth, height;
int perimeter, area;
cout << "Enter breadth and height: ";
cin >> breadth >> height;
perimeter = 2*(breadth+height);
area = breadth*height;
cout << "Area and perimeter of rectangle are ";
cout << area << " and " << perimeter
<< endl;
}