C语言考试练习题_一元二次方程 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int a,b,c; scanf("%d%d%d",&a,&…… 题解列表 2023年10月08日 0 点赞 0 评论 200 浏览 评分:0.0
不懂可评论 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main{ public static void main(String[] a…… 题解列表 2024年11月23日 0 点赞 0 评论 232 浏览 评分:0.0
Hifipsysta-1112-C语言考试练习题_一元二次方程(C++代码)求根公式法 摘要: ```cpp #include #include using namespace std; int main(){ double a,b,c,result; cin…… 题解列表 2022年02月04日 0 点赞 0 评论 229 浏览 评分:0.0
题解 1112: C语言考试练习题_一元二次方程 摘要:解题思路:注意事项:1.需要引用<math.h>库2.输出的两个值都是小数,要用double参考代码:#include<stdio.h> #include<math.h> int main() …… 题解列表 2022年02月23日 0 点赞 0 评论 402 浏览 评分:0.0
不懂可评论 摘要:解题思路:注意事项:参考代码:a,b,c=map(int,input().split()) deter=b*b-4*a*c x1=(-b+deter**0.5)/2*a x2=(-b-deter…… 题解列表 2024年11月23日 0 点赞 0 评论 171 浏览 评分:0.0
C语言考试练习题_一元二次方程 摘要:```cpp #include using namespace std; int main() { double a,b,c,s,x1,x2; cin>>a>>b>>…… 题解列表 2022年03月05日 0 点赞 0 评论 137 浏览 评分:0.0
编写题解 1112: C语言考试练习题_一元二次方程 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double a,b,c,x1,x2; scanf("%lf %lf %lf",…… 题解列表 2022年03月09日 0 点赞 0 评论 290 浏览 评分:0.0
1112一元二次方程(数学求根公式解决) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ double a, b, c; cin …… 题解列表 2024年06月11日 0 点赞 0 评论 534 浏览 评分:0.0
1112:一元二次方程 摘要: # include <bits/stdc++.h> using namespace std; int main () { int a,b,c; cin >>a >>b >>…… 题解列表 2024年04月10日 0 点赞 0 评论 186 浏览 评分:0.0
利用求根公式球一元二次方程的解 摘要:解题思路: 求根公式: x1=(-b-sqrt(b^2-4ac))/2a   题解列表 2024年03月07日 0 点赞 0 评论 204 浏览 评分:0.0