cleartext 一元二次方程求解 ax^2+bx+c=0endtextinput "请输入a的值:" to ainput "请输入b的值:" to binput "请输入c的值:" to cm=b*b-4*a*cif m>=0 x1=(-b+sqrt(m))/(2*a) x2=(-b-sqrt(m))/(2*a) ?"x1的值是:",x1 ?"x2的值是:",x2 else ?"此方程无实根!"endif