WAP- Given the radius of a circle, write a program to compute and display its area. Use a symbolic constant to define the pi value and assume a suitable value for radius

//E Balagurusamy, Programming In ANSI C,4E
//Exercise 1.5, page 21

#include <stdio.h>

#define PI 3.142

int main(void)
{float radius,area;

printf("\n\n");

printf("Enter radius of circle : ");
scanf("%f",&radius);

area=PI*radius*radius;

printf("Area of circle : %f",area);

printf("\n\n");
return 0;
}