题解 1028: [编程入门]自定义函数求一元二次方程

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

输出问题

摘要:先贴代码以示友好 ```python def res1(): print('x1=',end='') print('%.3f'%(-b/(2*a))) print('……

容易理解的C语言代码

摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <math.h> int main() {     int a, b, c, deta;     d……