#include<stdio.h>
#include<conio.h>
#include<math.h>
main()
{
int r;
float pi=3.142,area,cir;
clrscr();
printf("\n enter the value of r");
scanf("\n %d",&r);
cir=2*pi*r;
area=pi*r*r;
printf(" the circumference of the circle is %f",cir);
printf(" the area of the circle is %f",area);
}
output:-
enter the value of r=1
circumference (cir)=6.28400
area of circle =3.14200