This preview shows page 1. Sign up to view the full content.
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
This note was uploaded on 02/15/2012 for the course COP 3502 taught by Professor Staff during the Spring '12 term at University of Florida.
- Spring '12