#include<stdio.h>
#include<conio.h>
int main()
{
float r,a,c;
printf("input radius of a circle in cm:");
scanf("%f",&r);
a=3.14*r*r;
c=2*3.14*r;
printf("area=%.2fsq cm\n",a);
printf("circumference=%.2fsq cm",c);
getch();
}
AHAD🙏
No comments:
Post a Comment