Write a C Program to find area and circumference of circle

By | November 2, 2016

Find area and circumference of circle


Write a C Program to find area and circumference of circle. Here’s simple Program to find area and circumference of circle in C Programming Language.


Below is the source code for C Program to find area and circumference of circle which is successfully compiled and run on Windows System to produce desired output as shown below :


SOURCE CODE : :


/*  C Program to find area and circumference of circle  */

#include<stdio.h>

int main()
{
    float area, radius, circum;

    printf("ENTER THE RADIUS OF THE CIRCLE :: ");
    scanf("%f", &radius);
    area = 3.142 * radius * radius;
    circum = 2 * 3.142 * radius;
    printf("\nTHE AREA OF THE CIRCLE IS :: %f", area);
    printf("\n\nTHE CIRCUMFERENCE OF THE CIRCLE IS :: %f\n", circum);

    return 0;
}

OUTPUT : :


ENTER THE RADIUS OF THE CIRCLE :: 5

THE AREA OF THE CIRCLE IS :: 78.550003

THE CIRCUMFERENCE OF THE CIRCLE IS :: 31.420000

Above is the source code for C Program to find area and circumference of circle which is successfully compiled and run on Windows System.The Output of the program is shown above .

If you found any error or any queries related to the above program or any questions or reviews , you wanna to ask from us ,you may Contact Us through our contact Page or you can also comment below in the comment section.We will try our best to reach up to you in short interval.


Thanks for reading the post….

Leave a Reply