#include <stdio.h>
#include <math.h>
int main() {
    float r,area;
    scanf("%f",&r);
    printf("Enter the value of radius,r:\n");
    printf("r=%f\n",r);
    area=(3.14*r*r);
    printf("Area of the circle=%f\n",area);
    return 0;
}

Embed on website

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