/* QuadircEquation.c */
#include <stdio.h>
#include <math.h>
int QuadircEquation(void) {
double root1, root2, discriminant, a, b, c;
discriminant = b * b - 4 * a * c;
root1 = (-b + sqrt(discriminant))/(2*a);
root2 = (-b - sqrt(discriminant))/(2*a);
printf("Enter coeficients a, b, and c: ");
scanf("%lf %lf %lf", &a, &b, &c);
if (discriminant = 0)
printf("%lf \n", root1);
else if (discriminant > 0)
printf("%lf %lf", root1, root2);
else
printf("There is no root");
printf("\n");
return 0;
}
这是在C. 它返回时出现以下错误:&#34;未定义引用`WinMain @ 16&#39; collect2.exe:错误:ld返回1退出状态&#34;