感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b,c; cin >>…… 题解列表 2023年06月17日 0 点赞 0 评论 505 浏览 评分:0.0
C语言考试练习题_一元二次方程(C语言) 摘要://解一元二次方程ax^2+bx+c=0的解。 #include<stdio.h> #include<math.h> int main(){ double a,b,c; s…… 题解列表 2023年06月05日 0 点赞 0 评论 740 浏览 评分:9.9
题解 1112: C语言考试练习题_一元二次方程 摘要:解题思路:想做这道题,需要先搞清楚一元二次方程,这里就不多说了直接套公式:x1 = -b+√b^2-4ac 2a …… 题解列表 2023年05月13日 0 点赞 0 评论 687 浏览 评分:9.9
一元二次方程 摘要:解题思路:还是定义函数好用,这不用管负值,用if分类传-b*b+4ac即可解决gen小于0注意事项:参考代码:#include<iostream> #include<cmath>//用sqrt开方 …… 题解列表 2023年04月03日 0 点赞 0 评论 464 浏览 评分:0.0
1112: C语言考试练习题_一元二次方程 ```cpp#include#includeusingnamespacestd;//解一元二次方程ax^2+bx+c=0的解//输出两个解,按照大小顺序输出,一个解时需要打印两次,//不用考虑无解问题,保留两位小数intmain(){doublea, 题解列表 2023年02月27日 0 点赞 1 评论 632 浏览 评分:6.0
1112: C语言考试练习题_一元二次方程 摘要:解题思路:注意事项:参考代码:#include <math.h> #include <stdio.h> int main() { double a, b, c; double x1, …… 题解列表 2022年12月31日 0 点赞 0 评论 581 浏览 评分: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 评论 963 浏览 评分:0.0
1112: C语言考试练习题_一元二次方程 摘要:解题思路: 注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a, b, c; scanf("%d%d%d", &a, &b, &c…… 题解列表 2022年12月21日 0 点赞 0 评论 660 浏览 评分:9.9
一元二次方程 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b,c; float x1,x2; scanf("…… 题解列表 2022年12月20日 0 点赞 0 评论 515 浏览 评分: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 评论 632 浏览 评分:0.0