Tuesday, October 4, 2011

Homework 6 - SmallestNSquared.java

You are to complete exercise 4.12, p 148.

You'll be finding the smallest integer such that its square is strictly greater than 1994. You must provide proof that your calculation is correct. The class name must be SmallestNSquared and it must be written as a console application.

Sample Output
Here is a screenshot of SmallestNSquared's output, using 1762 as the threshold value.

SmallestNSquared output

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

Due Date:
Monday, October 10th, 8:00am