36.求方程的解——C语言初学者百题大战之十五 #include<stdio.h>#include<math.h>intmain() {floata,b,c,x1,x2,delta; scanf("%f %f %f",&a,&b,&c); delta=b*b-4*a*c;if(a==0){if(b==0) printf("No\n");elseprintf("%f\n",(-c)/b); }else{if(delta>0){ x1=(-b+sqrt(d...
delta=b*b-4*a*c;if(a==0){if(b==0) printf("No\n");elseprintf("%f\n",(-c)/b); }if(a!=0){if(delta>0){ x1=(-b+sqrt(delta))/(2*a); x2=(-b-sqrt(delta))/(2*a); printf("%f\n%f\n",x1,x2); }if(delta==0){ x1=(-b+sqrt(delta))/2*a; printf("%f\n"...