(Math Review:) Will there be two roots for every choice of
Let us consider roots that are real numbers, only. Then if:
Write a program that repeatedly asks the user for the coefficients
(which will be double precision)
and for each set writes out
Furthermore, write out an error message if
a = 0 but continue processing.
If the user enters non-numeric data, the program will crash. (C can be more user-friendly than this, but the logic gets messy.)
What type of loop do you propose for this program?