> 其他 >
1、编写一程序,求一元二次方程ax^2+bx+c=0(a0)的解
人气:278 ℃ 时间:2019-08-19 20:34:42
解答
#include "stdio.h"#include "math.h"void main(){float a,b,c;float delta;printf("input a:");scanf("%f",&a);printf("input b:");scanf("%f",&b);printf("input c:");scanf("%f",&c);if(a==0)printf("error a!");...
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版