#include <stdio.h>
#define PI 3.14159
// Function to calculate the area of a circle
float areaOfCircle(float radius) {
return PI * radius * radius;
}
int main() {
int radius, area;
// Taking input from user
printf("Enter the radius of the circle: ");
scanf("%d", &radius);
// Calling the area function
area = areaOfCircle(radius);
// Displaying the result
printf("The area of the circle with radius %d %d", radius, area);
return 0;
}