dart =b*b-4*a*c; if(dart==0) { x2=-b/(2*a); x1=x2; printf(“x1=x2=%.2f\n”, x1, x2); } else if(dart>0) { dart=sqrt(dart); x1=(-b+dart)/(2*a);
確定! 回上一頁