Header Ads Widget

Responsive Advertisement

how to calculate the area of circle from c programming

 #include<stdio.h>

int main()

{

    float r;

    float a;

    printf("Enter the radius of circle : ");

    scanf("%f",&r);

    a=3.14*r*r;

    printf("Area of circle is %f",a);

    return 0;

}


Post a Comment

0 Comments