#include<stdio.h>
int main()
{
float len,breth,radius,area1,p,area2,circum;
printf("Enter lenth of rectangle:");
scanf("%f",&len);
printf("enter breath of rectangle:");
scanf("%f",&breth);
printf("enter radius of circle:");
scanf("%f",&radius);
area1=len*breth;
printf("areq of rectangle=%f \n",area1);
p=2*(len+breth);
printf("perimeter of rectangle=%f\n",p);
area2=3.14*radius*radius;
printf("area of radius =%f\n",area2);
circum=2*3.14*radius;
printf("circumference of circle=%f",circum);
return 0;
}
int main()
{
float len,breth,radius,area1,p,area2,circum;
printf("Enter lenth of rectangle:");
scanf("%f",&len);
printf("enter breath of rectangle:");
scanf("%f",&breth);
printf("enter radius of circle:");
scanf("%f",&radius);
area1=len*breth;
printf("areq of rectangle=%f \n",area1);
p=2*(len+breth);
printf("perimeter of rectangle=%f\n",p);
area2=3.14*radius*radius;
printf("area of radius =%f\n",area2);
circum=2*3.14*radius;
printf("circumference of circle=%f",circum);
return 0;
}