#include
#include
void main()
{
float rad;
const float pi=3.1412f;
const char newline='\n';
float area_circle,circum_circle;
clrscr();
printf("Enter radius of a circle:");
scanf("%f",&rad);
area_circle=pi*rad*rad;
printf("Area of a circle:%f %c",area_circle,newline);
circum_circle=2*(pi*rad);
printf("Circumference of a circle:%f",circum_circle);
getch();
}