c语言编程,要源代码?答:double a, b, c, discriminant, root1, root2, realPart, imagPart;printf("Enter coefficients a, b and c: ");scanf("%lf %lf %lf", &a, &b, &c);discriminant = b * b - 4 * a * c;// condition for real and different roots if (discriminant > 0) { root1 = (-b ...