#include <stdio.h>
int main()
{
float PI=3.14;
int radius;
float area;
printf("Enter the radius of the circle: ");
scanf("%i",&radius);
printf("%i \n",radius);
area=PI*radius*radius;
printf("-----------------------------\n");
printf("Area of the circle: %f \n",area);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: