Education

Input & Output Devices

Area of circle

//Area of circle =pie*r*r

#include<stdio.h>
#include<conio.h>
main();
{
float AREA,R;
clrscr();
printf("Enter Radius:");
scanf("%f",&R);
AREA=3.14*R*R;
printf("Area of the given is: %6.2f",AREA);
getch();
}

Comments