if函数不判断,弄了半天也弄不懂

img


if根本就不判断

#include<stdio.h>
#include<math.h>
int main(){
double a,b,c,t;
double x1,x2,x;
scanf("%lf %lf %lf",&a,&b,&c);
if (a==0)
{
if(b!=0){
x=c/b;
printf("%.3f",x);}

   else
       {

        if(c==0)
        {printf("INF");}
        else
        {
         printf("NO");
        }

    }

}
else

{
if(bb-4ac>0)
{
t=sqrt(b
b-4ac);
x1=(-b-t)/(2a);
x2=(-b+t)/(2
a);
if (x1<x2)
{
printf("%.3f %.3f",x1,x2);
}
else {printf("%.3f %.3f",x2,x1);}
}
else if (bb-4ac==0)
{
t=sqrt(b
b-4ac);
x=(-b+t)/(2*a);
printf("%.3f",x);
}
else
{printf("NO");
}
} return 0;
}

是不是你输入的不对,你是怎么输入abc的值的?