摘要: #include#includeint main(){ int a[10],b[10],c[10],e,i; double x1,x2,x3,d; for(i=0;i0){ d=sqrt(b[i]*b[i]-4*a[i]*c[i]); if(d=0){ e=2*a[i]; x1=(-b[i]+d)/e; x2=(-b[i]-d)/e; if(x1==x2) printf("x1=x2=%.6f\n",x1); if(x1!=x2) printf... 阅读全文
posted @ 2013-11-28 09:35 吕鼎鼎19950427 阅读(273) 评论(0) 推荐(0) 编辑