Write a program to find area of circle in C Language - Program to find area of circle in C - Program to find area of circle

 Program to find the Area of the Circle in C

#include<stdio.h>

int main() {

float radius, area;

printf("Enter the radius of Circle : ");

scanf("%f", &radius);

area = 3.14*radius*radius;

printf("\nArea of Circle : %f\n", area);

return (0);

}

इस कोड को हमने CODEBLOCK पर बना कर run किया है

The Area of the Circle is

Comments

Post a Comment