Question: Write a class called GeographicAreaLookup. Implement your code in a method called determineAreaByZip. The method should receive a zip code and return the appropriate geographic

Write a class called GeographicAreaLookup. Implement your code in a method called determineAreaByZip. The method should receive a zip code and return the appropriate geographic area. (This class has no instance variables.)

Create a GeographicAreaTester with a main method. Request a zip code from the user, call the determineAreaByZip method to get the geographic area, and print both the zip code and geographic area.

Sample run

Enter a zip code: 61790

61790 is in the Central Plains area.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!