1、编写一程序,求一元二次方程ax^2+bx+c=0(a0)的解

1、编写一程序,求一元二次方程ax^2+bx+c=0(a0)的解
其他人气:188 ℃时间: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!");...
我来回答
类似推荐
请使用1024x768 IE6.0或更高版本浏览器浏览本站点,以保证最佳阅读效果。本页提供作业小助手,一起搜作业以及作业好帮手最新版!
版权所有 CopyRight © 2012-2024 作业小助手 All Rights Reserved. 手机版