- 博客(1)
- 收藏
- 关注
原创 2021-10-25
大一老师让写的解一元二次函数的代码难死啦写到凌晨一点多ᵎ(•̀㉨•́)و ̑̑ #include <stdio.h> #include<math.h> int main() { double a,b,c,p,q,disc,x1,x2; scanf("%lf,%lf,%lf",&a,&b,&c); disc=bb-4ac; if(disc<0) printf(“函数无实数根”); else { p=-(b/2a); q=sqrt(disc)/2*a; x1
2021-10-25 08:23:43
72
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人