I've been trying to get this to compile, but it isn't cooperating. Does anyone know what the problem is?
else (discriminant < 0 ) {
square_root = sqrtf(-discriminant);
x1 = -b / (2 *a);
x1_i = square_root / (2 * a);
x2 = x1;
x2_i = x1_i;
printf("There are two complex roots.\n");
printf("x1 = %f = %f i and x2 = %f - %f i\n", x1, x2, x1_i, x2_i);