Unformatted text preview: negative, the equation has no real roots. Write a program that prompts the user to enter the values for a, b and c and displays the result based on the discriminant. Describe in your own how you solved the problem, including the input, output, and computations. Note: you can use Math.pow(x,0.5) to compute √ º . (20 points)...
View Full Document
- Spring '12
- Quadratic equation, real roots, following formula. b2-4ac