
Screenshots from last night's implementation of
RateComparison.java using methods. Note that this was a bit of quick and dirty work on the fly. A more complete and comprehensive treatment would have do while loops to control error handling on the user input etc.
Sample Code

Rate Comparison imports

Rate Comparison constants

Rate Comparison input methods

Rate Comparison validation methods (1)

Rate Comparison validation methods (2)

Rate Comparison action

Rate Comparison main