1112-一元二次方程 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath> using namespace std;int main(){ int a,b,c; cin >>a …… 题解列表 2022年10月06日 0 点赞 0 评论 258 浏览 评分:0.0
一元二次方程 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b,c; float x1,x2; scanf("…… 题解列表 2022年12月20日 0 点赞 0 评论 248 浏览 评分: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 评论 660 浏览 评分: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 评论 246 浏览 评分:0.0
1112: C语言考试练习题_一元二次方程 摘要:解题思路:注意事项:参考代码:#include <math.h> #include <stdio.h> int main() { double a, b, c; double x1, …… 题解列表 2022年12月31日 0 点赞 0 评论 185 浏览 评分: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 评论 393 浏览 评分:0.0
题解 1112: C语言考试练习题_一元二次方程 摘要:解题思路:注意事项:1.需要引用<math.h>库2.输出的两个值都是小数,要用double参考代码:#include<stdio.h> #include<math.h> int main() …… 题解列表 2022年02月23日 0 点赞 0 评论 529 浏览 评分: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 评论 366 浏览 评分:0.0
一元二次方程 摘要:解题思路:还是定义函数好用,这不用管负值,用if分类传-b*b+4ac即可解决gen小于0注意事项:参考代码:#include<iostream> #include<cmath>//用sqrt开方 …… 题解列表 2023年04月03日 0 点赞 0 评论 180 浏览 评分:0.0
1112: C语言考试练习题_一元二次方程 摘要:#include<bits/stdc++.h> using namespace std; int main(){ double a,b,c; cin >> a >> b…… 题解列表 2021年12月17日 0 点赞 0 评论 426 浏览 评分:0.0