#include <stdio.h>
 
int main() {
    float R;
    double A = 0;
    double n = 3.14159;
    
    scanf("%f",&R);
    
    A = R * R * n;
    printf("A=%f",A);
    return 0;
}

Embed on website

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