Question: Write a function named 'roots' that solves quadratic equations using the quadratic formula: It should take as arguments three numbers a, b, and c. It
Write a function named 'roots' that solves quadratic equations using the quadratic formula: It should take as arguments three numbers a, b, and c. It should print error messages if a is zero, or if the roots are complex. Otherwise it should print the two roots. Please provided correct code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
