Program to compute area of circle.

 #include <stdio.h>


int main()

{

    float pie,radius,area;

    printf("enter the value of radius");

    scanf("%f",&radius);

      area=3.14*radius*radius;

    printf("the area of cirlce is %.2f",area);


    return 0;

}

No comments:

Post a Comment

Programming in C Language

  PROGRAM LIST TO BECOME PRO IN C    😍😍😍            PRACTICE SETS                                                        UNIT -1  👇   IN...