Write a c program to calculate the area of a circle

calculate the area of a circle

#include<stdio.h>
#include<conio.h>
main()
{
float r,z=0;
printf("enter the radious of circle");
scanf("%f",&r);
z=3.14*(r*r);
printf("the area of circle=%f",z);
getch();
}

Post a Comment

0 Comments