C语言考试练习题_一元二次方程-题解(C语言代码) 摘要:# MarkDown编辑器基本使用说明 **如果这是您第一次使用MarkDown编辑器,建议先阅读这篇文章了解一下Markdown的基本使用方法。** ## 实时预览、全屏显示 ![…… 题解列表 2020年05月31日 0 点赞 0 评论 988 浏览 评分:9.9
入门算法,简单易懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double x1,x2,a,b,c,d,t; scanf("%lf…… 题解列表 2022年10月04日 0 点赞 0 评论 347 浏览 评分:9.9
1112: C语言考试练习题_一元二次方程 摘要:```cpp #include #include #include using namespace std; int main() { double x1,x2,a,b,c,d,…… 题解列表 2022年09月10日 0 点赞 0 评论 433 浏览 评分:9.9
C语言考试练习题_一元二次方程-题解(Java代码) 摘要:解题思路:注意事项:x=(-b±√(b^bai2-4ac))/(2a)参考代码: Scanner sc=new Scanner(System.in); int a=sc.nextInt…… 题解列表 2021年01月15日 0 点赞 0 评论 551 浏览 评分:9.9
java--study||O.o 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) …… 题解列表 2024年01月06日 0 点赞 0 评论 342 浏览 评分:9.9
还是比较简单的,昨天还以为我通关了想太多了 摘要:解题思路:注意事项:参考代码:a,b,c=map(int,input().split())dta=b**2-4*a*cif dta>=0: x1=((-1)*b+dta**(1/2))/(2*a…… 题解列表 2022年05月27日 0 点赞 0 评论 215 浏览 评分:9.9
1112: C语言考试练习题_一元二次方程 摘要:解题思路:就数学公式的基本应用注意事项:参考代码:#include<iostream>#include<cmath>#include<iomanip>using namespace std;int m…… 题解列表 2024年03月12日 1 点赞 0 评论 220 浏览 评分:9.9
编写题解 1112: C语言考试练习题_一元二次方程(python) 摘要:运用一元二次求根公式即可,无需考虑无实数解的情况a,b,c = map(int, input().split()) x1 = (-b + pow(pow(b, 2) - 4 * a * c, 0.5…… 题解列表 2022年04月21日 0 点赞 0 评论 499 浏览 评分:9.9
一元二次方程的一种解法 摘要:#include<stdio.h>#include<math.h>int main(){ int a,b,c; float x,z,x1,x2,t; scanf("%d %d %d",&a…… 题解列表 2021年09月01日 0 点赞 0 评论 626 浏览 评分:9.9
C语言考试练习题_一元二次方程 (Java代码) 摘要:import java.util.*; public class Main { public static void main(String[] args) { Scanner cin=n…… 题解列表 2017年12月30日 0 点赞 0 评论 1382 浏览 评分:9.9