Write a more general and more robust version of Quadratic ( PROGRAM 1.2.3) that prints the roots

Question:

Write a more general and more robust version of Quadratic ( PROGRAM 1.2.3) that prints the roots of the polynomial ax2 + bx + c, prints an appropriate message if the discriminant is negative, and behaves appropriately (avoiding division by zero) if a is zero.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: