C语言考试练习题_一元二次方程-题解(Java代码) 摘要:import java.util.Scanner; import java.math.*; public class Main { public static void main(S…… 题解列表 2020年04月19日 0 点赞 0 评论 664 浏览 评分:0.0
C语言考试练习题_一元二次方程-题解(C语言代码) 摘要: #include #include int main() { float a,b,c; scanf("%f%f%f",&a,&b,…… 题解列表 2020年04月02日 0 点赞 0 评论 538 浏览 评分:0.0
C语言考试练习题 简单点易懂(C语言代码) 摘要:```c #include #include void main() { double x,x1,x2,y,a,b,c; scanf("%lf%lf%lf",&a,&b,&c); …… 题解列表 2020年02月28日 0 点赞 0 评论 600 浏览 评分:0.0
C语言考试练习题_一元二次方程-题解(C语言代码) 摘要:** 参考代码: ** ```c #include #include int main() { double a,b,c; double d; while(scanf(…… 题解列表 2019年07月23日 0 点赞 0 评论 617 浏览 评分:0.0
C语言考试练习题_一元二次方程 (C++代码) 摘要:```cpp #include #include #include using namespace std; int main() { double a,b,c; doubl…… 题解列表 2019年11月24日 0 点赞 0 评论 590 浏览 评分:0.0
C语言考试练习题_一元二次方程-题解(C语言代码)——真正完整的。 摘要:先看看正确的。 #include #include int main() { double a,b,c,p,x1,x2; scanf("…… 题解列表 2019年08月13日 0 点赞 0 评论 1111 浏览 评分: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
C语言考试练习题_一元二次方程 (C语言代码) 摘要:解题思路: 用公式法解方程,使用 判别式。注意事项: 判别式的值 强转(int)参考代码: x = pow(b,2); //判别式 y = x-4*a*c; // 判别式的值 k = (int)y…… 题解列表 2018年11月09日 0 点赞 0 评论 616 浏览 评分:0.0
C语言考试练习题_一元二次方程 摘要:解题思路:判断b的平方减4ac是否大于零,大于零有两个解,等于零有一个,小于零没有。注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ …… 题解列表 2021年09月13日 0 点赞 0 评论 414 浏览 评分:0.0
1112: C语言考试练习题_一元二次方程-题解(python) 摘要:解题思路:注意事项:参考代码:a,b,c = map(int,input().split())m = b**2 - 4*a*cm = m**(0.5)x = (-b + m)/2y = (-b - m…… 题解列表 2021年10月19日 0 点赞 1 评论 379 浏览 评分:0.0