find area and perimeter of circle in c code example
Example: c program to find area of circle
#include <stdio.h>
#define PI 3.142
int main(){
float R, A;
printf("Enter the radius: \n");
scanf("%f", &R);
A = PI * R * R;
printf("Area is: %f\n", A);
}