C Program to find area of Ellipse
Program
#include<stdio.h>
#define PI 3.141
void main()
{
int a, b;
float area;
printf("Enter the first semiaxes:\t");
scanf("%d", &a);
printf("Enter the second semiaxes:\t");
scanf("%d", &b);
area = PI * a * b;
printf("Area of the ellipse is:\t%f\n", area);
}
Output
Enter the first semiaxes: 6
Enter the second semiaxes: 11
Area of the ellipse is: 207.306000