Write a C Program to find area and circumference of circle

By | 02.11.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….

4.5 2 votes
Article Rating
Category: Basic Programs C Programming Tags:

About Tunde A

My name is Tunde Ajetomobi, a Tech Enthusiast and Growth Hacker. I enjoy creating helpful content that solves problem across different topics. Codezclub is my way of helping young aspiring programmers and students to hone their skills and find solutions on fundamental programming languages.

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments