Question: in java using polymorphism Write a program that computes a quadratic equation and determines if it has one real root, two real roots, or no
Write a program that computes a quadratic equation and determines if it has one real root, two real roots, or no real roots. Provide the answer(s) and determine the roots The program will take inputs for a, b, and c Use these to test * x2 3x + 4 = 0 (no real roots) 1-4x2 + 12x - 9 (one real root) 2x2, llx + 5 = 0 (two real roots) Use Math.sqrt for square root
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
