#24162: c語言


j59134420@gmail.com (隨風遺忘)

School : No School
ID : 142244
IP address : [42.74.246.99]
Last Login :
2021-01-24 17:12:00
a006. 一元二次方程式 | From: [42.74.246.99] | Post Date : 2021-01-24 17:24

d=(b*b)-(4*a*c);

d=pow(d,0.5);

用if去判斷d><=0的狀況

 

 
ZeroJudge Forum