表达式必须有(pointer-to-)函数类型 如何改
程序代码:#include<stdio.h>
#include<math.h>
#include<stdlib.h>
void main()
{
float a,b,c,d,sqrt,p,q,x1,x2;
scanf("%f,%f,%f",&a,&b,&c);
p=-b/(2*a);
d=b*b-4*a*c;
q=sqrt(d)/(2*a);
x1=p+q;
x2=p-q;
printf("x1=%fx2=%f",x1,x2);
system("pause");
}








