program to find area and circumference of circle-by enggfact - Enggfact

Latest

Convert your Passion into your Profession

Sunday, September 1, 2019

program to find area and circumference of circle-by enggfact

#include<stdio.h>
int main()
{
int r;
float A,C;
printf("enter radius");
sacnf("%d",&r);
A=22/7.0*r*r;
C=2*22/7.0*r;
printf("\n area=%f \n circumference=%f',A,C);
return 0;
}

No comments:

Post a Comment