24h購物| | PChome| 登入
與好友分享這篇文章

一元二次方程式

/************************************************************/ #include<stdlib.h>#include<stdio.h>#include<math.h>int main(){ float a,b,c;  float x1,x2; while(scanf("%f%f%f",&a,&b,&c)==3) {  x1=(-b+sqrt(b*b-4*a*c))/2/a;  x2=(-b-sqrt(b*b...

新聞台: 摸索C語言 | 台長:來源不明
收件者E-mail:

請以分號區隔每個E-mail
例如:john@pchome.com.tw;mary@pchome.com.tw
信件標題:
與你分享這篇文章
訊息內容:
很精采的好文章!
如果你也喜歡,請轉寄給好友幫忙增加人氣吧!
您的名字:
來源不明
TOP