题解 1112: C语言考试练习题_一元二次方程

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

筛选

不懂可评论

摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main{     public static void main(String[] a……

不懂可评论

摘要:解题思路:注意事项:参考代码:a,b,c=map(int,input().split()) deter=b*b-4*a*c x1=(-b+deter**0.5)/2*a x2=(-b-deter……

1112:一元二次方程

摘要: # include <bits/stdc++.h>  using namespace std; int main () { int a,b,c; cin >>a >>b >>……

C语言考试练习题_一元二次方程--java语言

摘要:解题思路:①导入Scanner②输入a,b,c③输出x1,x2④保留两位输出注意事项:①导入②开方计算时使用sqrt(若没有提前导入Math,则需要在运行时写上:Math.sqrt())参考代码:im……

一元二次方程

摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main {     public static void main(String[] ar……