1112: C语言考试练习题_一元二次方程 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c;…… 题解列表 2024年01月22日 0 点赞 0 评论 184 浏览 评分: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 评论 149 浏览 评分:0.0
C语言考试练习题_一元二次方程--java语言 摘要:解题思路:①导入Scanner②输入a,b,c③输出x1,x2④保留两位输出注意事项:①导入②开方计算时使用sqrt(若没有提前导入Math,则需要在运行时写上:Math.sqrt())参考代码:im…… 题解列表 2023年12月06日 0 点赞 0 评论 121 浏览 评分: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 评论 557 浏览 评分:0.0
C语言思路简单,易懂!!! 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main (){ double data,y1,y2; int a,b,c; …… 题解列表 2023年09月24日 0 点赞 0 评论 156 浏览 评分:0.0
一元二次方程 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[] ar…… 题解列表 2023年07月15日 0 点赞 0 评论 173 浏览 评分:0.0
1112-一元二次方程 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath> using namespace std;int main(){ int a,b,c; cin >>a …… 题解列表 2022年10月06日 0 点赞 0 评论 140 浏览 评分:0.0
1112: C语言考试练习题_一元二次方程(c语言) 摘要:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b,c; float m,x1,x2,t; scanf("%d %d %d",&a,&b…… 题解列表 2023年07月04日 0 点赞 0 评论 140 浏览 评分:0.0
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b,c; cin >>…… 题解列表 2023年06月17日 0 点赞 0 评论 181 浏览 评分:0.0
一元二次方程 摘要:解题思路:还是定义函数好用,这不用管负值,用if分类传-b*b+4ac即可解决gen小于0注意事项:参考代码:#include<iostream> #include<cmath>//用sqrt开方 …… 题解列表 2023年04月03日 0 点赞 0 评论 93 浏览 评分:0.0