.求教,C语言,求ax^2+by+c=0的解我的程序:#include "stdio.h"#include "math.h"void main(){ int a,b,c; float x1,x2,p; printf("please enter a b c\n"); scanf("%f,%f,%f",&a,&b,&c); p=pow(b,2)-4*a*c; if(p>0) {x1=(-b+sqrt(p))/(2*a); x2=(-b-sqrt(
来源:学生作业帮助网 编辑:作业帮 时间:2024/09/11 19:47:19
xTmOP+75,+t:6ZڲT«G"HT Û/f'wl1H<ܛGum36a0>/wS.N(*W1N]zJձe(
3NOtd#V*