Pages

Write a program in C language to find area of circle.

Saturday, 18 May 2013

#include <stdio.h>
#include <conio.h>
int main()
{
         float radius, area; // declare vaviables
         printf("Enter radius of circle: ");
         scanf("%f", &radius);
         area = 3.1415 * radius * radius; // Formula to find area of circle
         printf("%f\n", area);
         getch();
}
 

Search Box

Most Reading

Contact Form

Name

Email *

Message *