Problem
1. Consider the question in Suppose the numbers ($10,000, 6 percent, $500) were user selectable. Are there values for which the algorithm you developed would not terminate? If so, change the algorithm to make sure it always terminates.
2. Write three versions of the HelloPrinter.java program that have different compiletime errors. Write a version that has a run-time error.