A program that read radius of a circle & display area in C.

#include<stdio.h>
#include<conio.h>

void main()
{
    int r,pi=3.142;
    float area;
    clrscr();
    printf("Enter Radius, r= : ");
    scanf("%d",&r);

    area=pi*r*r;
   
    printf("\nArea = %f",area);
    getch();
}



///////////////////////////////////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........