0

```
#include<stdio.h>
#include<conio.h>
#include<math.h>
main()
{
float a,b,c,d,k,x,y;
clrscr();
printf("Enetr the values of a,b,c=>");
scanf("%f %f %f",&a,&b,&c);
d=((b*b)-(4*a*c));
k=sqrt(d);
x= (-b+k)/(2*a);
y= (-b-k)/(2*a);
printf("The quadratic equation is x=%f and y=%f",x,y);
getch();
}
```

but after compiling the result is look like this .....why ....

wnter the values of a,b,c=>6 5 4

sqrt" DOMAIN error

The quadratic equation is x=+NAN and y=+NAN

its the program for to find out the result of the qudratic equation

With regards

Anupam jamatia