C PROGRAM TO FIND THE AREA OF A CIRCLE

#include<stdio.h>

int main(){

int radius;

float pi=3.14;

printf("Enter the radius of the circle:\n");

scanf("%d",&radius);

printf("The area of this circle is %f",pi*radius*radius);

getch();

}


No comments:

Post a Comment