#include <stdio.h>
#define PI 3.14159
int main() {
float radius, area;
// Asking the user to input the radius
printf("Enter the radius of the circle: ");
// Calculating the area of the circle
area = PI * radius * radius;
// Printing the result
printf("The area of the circle with radius %.2f is: %.2f\n", radius
, area
);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgojZGVmaW5lIFBJIDMuMTQxNTkKCmludCBtYWluKCkgewogICAgZmxvYXQgcmFkaXVzLCBhcmVhOwoKICAgIC8vIEFza2luZyB0aGUgdXNlciB0byBpbnB1dCB0aGUgcmFkaXVzCiAgICBwcmludGYoIkVudGVyIHRoZSByYWRpdXMgb2YgdGhlIGNpcmNsZTogIik7CiAgICBzY2FuZigiJWYiLCAmcmFkaXVzKTsKCiAgICAvLyBDYWxjdWxhdGluZyB0aGUgYXJlYSBvZiB0aGUgY2lyY2xlCiAgICBhcmVhID0gUEkgKiByYWRpdXMgKiByYWRpdXM7CgogICAgLy8gUHJpbnRpbmcgdGhlIHJlc3VsdAogICAgcHJpbnRmKCJUaGUgYXJlYSBvZiB0aGUgY2lyY2xlIHdpdGggcmFkaXVzICUuMmYgaXM6ICUuMmZcbiIsIHJhZGl1cywgYXJlYSk7CgogICAgcmV0dXJuIDA7Cn0=