next up previous
Next: About this document ... Up: The Code Previous: Exiting the Code

Shortcomings of the Code

While this code should give correct answers when the roots are real, it fails for complex roots and when either $a = 0$ or $c = 0$. Try running it with these cases to see how it behaves. For a homework assignment you are asked to improve the code so it handles these cases or fails gracefully.



Carleton DeTar 2017-09-05