by Dinesh Thakur Category: C Programming (Pratical)

This is c program that asks user to find out the Area of a circle. User need to declare the math function header file for calculation along with required variables like radius or area. User asks to enter radius of a circle for find out the area. User then uses the method to find out the area of a circle. Then too display result on the screen as result.

Problem Statement:

This is C program that ask user to find out the area of a circle.

  1. Declare the variables.
  2. Using method for area of circle.
  3. Display result on the screen.

Formula to area of circle.
“pi*r*r” (pi=3.14)

Here is C source code to find out the area of circle. The output of this program shown below. 

#include <stdio.h>
main( )
float radius, area;
printf ("Radius = ?  “ ) ;
scanf ( "%f" , &radius) ;
area = 3.14159 * radius * radius;
printf ("Area = %f",area) ;
C Program Write a  program to calculate the area of a C i r c l e


About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.C.A, MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to Contact us.