#include <stdio.h>
#include <math.h>

int main() 
{
    int r,p;
    float a;
    printf("enter the radius of the circle:\n");
    scanf("%d", &r);
    p=pow(r,2);
        a=3.14*p;
    printf("area of circle %f",a);
}
        

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: