Tuesday, September 27, 2011

Homework 4 - QuadraticEquation.java

You are to complete exercise 3.1, p 106

The class name must be QuadraticEquation and it must be written as a console application. You must use the Math.sqrt method, not the Math.pow method.

Sample Output
Here are screenshots of QuadraticEquation's results.

QuadraticEquation console output
two real roots

QuadraticEquation console output
one real root

QuadraticEquation console output
no real roots

Refer to the deliverables post for comment formatting and required program identification information.

Due Date:
Monday, October 3rd, 8:00am