C语言考试练习题_一元二次方程 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ float a,b,c; float m,n; scan…… 题解列表 2017年10月07日 0 点赞 0 评论 828 浏览 评分:0.0
C语言考试练习题_一元二次方程 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ float a,b,c,d,x1,x2,t; scanf("%f%f…… 题解列表 2017年08月27日 0 点赞 0 评论 1067 浏览 评分:0.0
C语言考试练习题_一元二次方程-题解(C语言代码) 摘要:```c #include #include int main() { double a, b, c, x1, x2; scanf("%lf%lf%lf", &a, &b,…… 题解列表 2020年10月03日 0 点赞 0 评论 356 浏览 评分:0.0
编写题解 1112: C语言考试练习题_一元二次方程 摘要:解题思路:注意事项:参考代码:import matha,b,c=map(float,input().split())x = -math.sqrt(-c+(b/2*a)**2)-b/2*ay = mat…… 题解列表 2021年12月10日 0 点赞 0 评论 270 浏览 评分:0.0
1112很狠狠太狠了 摘要:解题思路:注意事项:注意输出两个值如果x1等x2参考代码:#include<stdio.h>#include<math.h>int main(){ float a,b,c,d,x1,x2,p,q;…… 题解列表 2021年11月09日 0 点赞 0 评论 418 浏览 评分:0.0
1112我是服了,如果没有记得方程的简便解法,怎么写? 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double x1,x2,a,b,c,d,t; scanf("%lf…… 题解列表 2021年11月07日 0 点赞 0 评论 229 浏览 评分: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 评论 282 浏览 评分:0.0
C语言考试练习题_一元二次方程 摘要:解题思路:判断b的平方减4ac是否大于零,大于零有两个解,等于零有一个,小于零没有。注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ …… 题解列表 2021年09月13日 0 点赞 0 评论 338 浏览 评分:0.0
C语言考试练习题_一元二次方程 摘要:参考代码:#include<iostream> #include<cmath> #include<iomanip> using namespace std; double a,b,c,x1…… 题解列表 2021年03月12日 0 点赞 0 评论 210 浏览 评分:0.0
C语言考试练习题_一元二次方程-题解(Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args…… 题解列表 2021年02月15日 0 点赞 0 评论 194 浏览 评分:0.0