Roman4525

tester

Oct 18th, 2016
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1.  
  2. public class GeographicAreaTester {
  3. public static void main (String arg[]){
  4. Scanner keyboard = new Scanner(System.in);
  5. GeographicAreaLookup geo = new GeographicAreaLookup();
  6.  
  7. //output for user to enter zipcode
  8. System.out.println("Enter your zip code number: ");
  9. String zip = keyboard.next();
  10. char zipCode = zip.charAt(0);
  11. System.out.println( geo.determineAreaByZip(zipCode)) ;
  12.  
  13.  
  14.  
  15.  
  16. }
  17. }
Add Comment
Please, Sign In to add comment