#include stdio.h#include math.hvoid root(double a,double b,double c){double d=b*b-4*a*c;if (a=0){printf(这不是一元二次方程! );} else {if (d>0){printf(X1=%.2lf , (-b+sqrt(d))/(2*a)); printf(X2=%.2lf , (-b-sqrt...
这个人很懒,暂无签名信息
#include stdio.h#include math.hvoid root(double a,double b,double c){double d=b*b-4*a*c;if (a=0){printf(这不是一元二次方程! );} else {if (d>0){printf(X1=%.2lf , (-b+sqrt(d))/(2*a)); printf(X2=%.2lf , (-b-sqrt...