#include <stdio.h>
#include <math.h>
int main()
{
float r,area;
printf("radius of the circle: ");
scanf("%e",&r);
area=M_PI*pow(r,2);
printf("\narea=%.2f", area);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: