Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Area of circle
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#include<stdio.h>
void main()
{
float r,area,pi=3.14;
printf("Enter the radius of the circle:- \n");
scanf("%f", &r);
area=(pi*r*r);
printf("The area of the circle is:- %f \n",area);
return 0;
}