c解一元二次方程问题求助!!
小弟是新手,请各位高手帮忙看看问什么算不出来···#include <stdio.h>
#include <math.h>
void main()
{
float a,b,c,x1,x2;
scanf("%f,%f,%f",&a,&b,&c);
x1=(-b+sqrt(b*b-4*a*c))/(2*a);
x2=(-b-sqrt(b*b-4*a*c))/(2*a);
printf("x1=%7.2f x2=%7.2f\n",x1,x2);
}