#include #include main() {double a,b,c,q,w,e; q=((-b)+sqrt(b*b-4*a*c))/(2*a); w=#include #include main(){double a,b,c,q,w,e;q=((-b)+sqrt(b*b-4*a*c))/(2*a);w=((-b)-sqrt(b*b-4*a*c))/(2*a);e=(-b)/(2*a);scanf("%lf%lf%lf",&a,&b,&c);if(b*b-4*a*c>0){print

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/19 14:25:37
#include  #include  main() {double a,b,c,q,w,e; q=((-b)+sqrt(b*b-4*a*c))/(2*a); w=#include #include main(){double a,b,c,q,w,e;q=((-b)+sqrt(b*b-4*a*c))/(2*a);w=((-b)-sqrt(b*b-4*a*c))/(2*a);e=(-b)/(2*a);scanf(0){print" />
xKP"]WV~;0Xks$0(2D *(IHLguO=cs9=M-r04!$@CA"pb:4APs%)3,`U5e՟5sf=h(QFQOb $/bWd $BLғbNҳPrɦa+vİX>sP2! /~Z\N(ˬERZ,ڪY{zt|u4.NPຉ6>F4ӵbe#hو>&2t|?1UjբA+|hȢkkow

#include #include main() {double a,b,c,q,w,e; q=((-b)+sqrt(b*b-4*a*c))/(2*a); w=#include #include main(){double a,b,c,q,w,e;q=((-b)+sqrt(b*b-4*a*c))/(2*a);w=((-b)-sqrt(b*b-4*a*c))/(2*a);e=(-b)/(2*a);scanf("%lf%lf%lf",&a,&b,&c);if(b*b-4*a*c>0){print
#include #include main() {double a,b,c,q,w,e; q=((-b)+sqrt(b*b-4*a*c))/(2*a); w=
#include
#include
main()
{double a,b,c,q,w,e;
q=((-b)+sqrt(b*b-4*a*c))/(2*a);
w=((-b)-sqrt(b*b-4*a*c))/(2*a);
e=(-b)/(2*a);
scanf("%lf%lf%lf",&a,&b,&c);
if(b*b-4*a*c>0)
{printf("2解");printf("q=%lf,w=%lf\n",q,w);}
else if(b*b-4*a*c==0)
{printf("1解");printf("e=%lf\n",e);}
else if(b*b-4*a*c

#include #include main() {double a,b,c,q,w,e; q=((-b)+sqrt(b*b-4*a*c))/(2*a); w=#include #include main(){double a,b,c,q,w,e;q=((-b)+sqrt(b*b-4*a*c))/(2*a);w=((-b)-sqrt(b*b-4*a*c))/(2*a);e=(-b)/(2*a);scanf("%lf%lf%lf",&a,&b,&c);if(b*b-4*a*c>0){print
计算过程要放在输入值之后,scanf("%lf%lf%lf",&a,&b,&c);这句位置放到q=((-b)+sqrt(b*b-4*a*c))/(2*a);之前去,不然值还没输入,你怎么计算结果?