Write a C program to find area of circle
In this tutorial we are going to write a C program to find area of circle.
Formula for Area of Circle = PI*R*R
where PI = 3.14
C Program to find area of circle :
#include<stdio.h> int main() { float Radius, Area; printf("\nEnter Circle Radius : "); scanf("%f", &Radius); // value of PI is 3.14 Area = 3.14 * Radius * Radius; printf("\nArea of Circle : %f", Area); return (0); }
Output :
Enter Circle Radius : 7.5
Area of Circle : 176.625000