C Program to find area and circumference of Circle

Make a simple c program to find the area and circumference of the circle by inputting the radius of the circle.Below is the sample of the C program with solution –

/*C program to find the area and circumference of circle*/
void main()
     float r,pi=3.14,cir,area;

     printf("Enter the Radius of the circle \n");


     printf("\n Circumference of circle is \t %f",cir);
     printf("\n Area of circle is \t %f",area);

Input –
Enter the radius of the circle – 3

Output –
Circumference of circle is 18.84
Area of circle is 28.26


  1. rubel says:

    thanks a lot share this code with me.

  2. Gobinda Rabha says:

    void main()
    printf(“Above program was awesome…………..thank you”);

  3. pari says:

    pls any one can tell me the program of the number is prime or not..

  4. Sam says:

    awesome solution. can you pls tell me what is the difference between
    void main() and int main()

    • Etta says:

      Phnmnoeeal breakdown of the topic, you should write for me too!

  5. altaf says:

    int main() and void main() both are same its like you are telling the os that main is giving some thing and at last it gives 0 and in case of void main() you are specifying that your main does not return any thing .thatz it int is old style of coading and void main is the new style

  6. car hire ireland knock says:

    hello!,I love your writing very so much! share we keep up a correspondence extra
    approximately your post on AOL? I require an expert in this area to unravel my problem.

    Maybe that is you! Looking forward to look you.

  7. Forrest says:

    This post is very informative but it took me a long time
    to find it in google. I found it on 22 spot,
    you should focus on quality backlinks building, it will help you to rank to google top 10.
    And i know how to help you, just search in google
    – k2 seo tips

Leave a Reply

Your email address will not be published. Required fields are marked *

Pin It on Pinterest

Share This