1112: C语言考试练习题_一元二次方程 摘要:#include<bits/stdc++.h> using namespace std; int main(){ double a,b,c; cin >> a >> b…… 题解列表 2021年12月17日 0 点赞 0 评论 400 浏览 评分: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 评论 321 浏览 评分:0.0
题解 1112: C语言考试练习题_一元二次方程 摘要:解题思路:注意事项:1.需要引用<math.h>库2.输出的两个值都是小数,要用double参考代码:#include<stdio.h> #include<math.h> int main() …… 题解列表 2022年02月23日 0 点赞 0 评论 478 浏览 评分: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 评论 196 浏览 评分: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 评论 366 浏览 评分:0.0
1112: C语言考试练习题_一元二次方程 摘要:解题思路:注意事项:参考代码:#include <math.h> #include <stdio.h> int main() { double a, b, c; double x1, …… 题解列表 2022年12月31日 0 点赞 0 评论 158 浏览 评分:0.0
C语言考试练习题_一元二次方程 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double a,b,c,x1,x2,d,t; scanf(…… 题解列表 2022年12月24日 0 点赞 0 评论 629 浏览 评分:0.0
编写题解 1112: C语言考试练习题_一元二次方程 摘要:解题思路:注意事项:参考代码:a,b,c = map(int,input().split())deta = (b**2 - 4*a*c)**(1/2)x1 = (-b + deta)/(2*a)x2 …… 题解列表 2022年06月01日 0 点赞 0 评论 206 浏览 评分:0.0
一元二次方程 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b,c; float x1,x2; scanf("…… 题解列表 2022年12月20日 0 点赞 0 评论 207 浏览 评分:0.0
编写题解 1112: C语言考试练习题_一元二次方程(哈哈哈,笨比写法) 摘要:解题思路:注意事项:参考代码:a,b,c=map(int,input().split())q=b*b-4*a*cm=(-b+pow(q,0.5))/2n=(-b-pow(q,0.5))/2if q>0…… 题解列表 2022年12月17日 0 点赞 0 评论 282 浏览 评分:0.0