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

int main() {
    double radius, area;

    printf("Enter the radius of the circle: ");
    scanf("%lf", &radius);
    area = 3.14*radius *radius;

    printf("The area of the circle with radius %.2lf is %.2lf\n", radius, 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: