More on I/O
/* Print the equation coefficients of a*x +b*y +c = 0 */
printf ("Coefficients: %f, %f, %f\n", a, b, c);
/* Compute and print the x-intercept */
printf ("x-intercept: ");
if (a != 0)
{ printf ("%f, ", -c/a);
}
else
{ printf ("none, ");
}