C/Rectangle/AREA&PER.C
//Program to find area and perimeter of a rectangle
#include<stdio.h>
#include<conio.h>
int main()
{
float l,b,p,a;
printf("Enter length : ");
scanf("%f",&l);
printf("Enter breadth : ");
scanf("%f",&b);
p=2*(l+b);
a=l*b;
printf("Perimeter is %f",p);
printf("Area is %f",a);
getch();
return 0;
}