# include
int main(void)
{
int a = 45;
int b = 36;
int c = 14;
double delta;
double x1;
double x2;
delta = b*b - 4*a*c;
if (delta > 0)
{
x1 = (-b + sqrt(delta))/(2*a);
x2 = (-b - sqrt(delta))/(2*a);
printf("两解,x1 = %f\n,x2 = %f\n",x1,x2);
}
if (delta = 0)
{
x1 = (-b + sqrt(delta))/(2*a);
x2 = x1;
printf("唯一解,x1 = x2 =%f\n",x1);
}
if (delta < 0)
{
printf("无解\n");
}
return 0;
}
怎么执行结果只是 Press any key to continue