programming9
  • Flowcharts
  • Programs
      • Back
      • C Programs
      • C++ Programs
      • Java Programs
      • Python Codes
      • HTML Codes
      • Java Script Codes
      • SQL Codes
  • Tutorials
      • Back
      • Java Tutorials
      • Competitive Programming
      • Python Tutorials
      • C Programming
  • Blog
  • Login
    Type 2 or more characters for results.

    C Program to Find Area and Circumference of a circle.

    Written by: sk.shahida
    • Basic C Programs-2
    #include<stdio.h>
    #include<conio.h>
    void main()
    {
        int r;
        float pi=3.14,area,ci;
        printf("Enter the Radius of a Circle:");
        scanf("%d",&r);
        area=pi*r*r;
        printf("Area of a Circle is: %f\n",area);
        ci=2*pi*r;
        printf("Circumference is: %f",ci);  
    }

     OUTPUT:

    Enter the Radius of a Circle:10
    Area of a Circle is: 314.000000
    Circumference is: 62.800003
    
    Previous article: C Program to Convert Temperature from Degree Centigrade to Fahrenheit Prev Next article: C Program to Find Simple Interest Next
    • C Program for Monthly Bill of a Newspaper
    • C Program to Find Area of Rectangle
    • C Program for Fibonacci Series using While Loop
    • C Program to Find Nth Fibonacci Number Using Recursion
    • C Program to Find Prime Factors of a Given Positive Number
    • C Program to Count Total Number of Digits in a Number
    • C Program for Implementation of Predictive Parser
    • C Program for Sum of Digits of a Number
    • Implementation of Queue using Array in C
    • C Program for Finding Factorial of a Number
    • C Program to Delete Characters from Given String
    • C Program to Implement Call By Value using Functions
    • C program to Implement BREAK Statement
    • Evaluate Algebraic Expression (ax+b)/(ax-b)
    • C Program to Find the Prime Numbers
    • Privacy Policy
    • Cookie Policy
    © programming9.com 2025
    Back to top