how to find area of a circle with just the circumfrance code example
Example 1: calculate area of circle
import math
r = 50
a = r**2*math.pi
print(a)
Example 2: area and circumference of a circle
#include <stdio.h>
#define PI 3.142
int main(){
float r, C, A;
printf("What is the radius: \n");
scanf("%f", &r);
C = 2 * PI * r;
A = PI * r * r;
printf("\nCincumference is and %f Area is %f\n", C, A);
}
Example 3: calculate area of circle
3.14 * radius * radius = area