Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Your client Georgia Data and Statistics needs help analyzing postal code information in the state of Georgia in early 2012. You are provided with the

image text in transcribed
Your client Georgia Data and Statistics needs help analyzing postal code information in the state of Georgia in early 2012. You are provided with the file that contains all the primary postal codes of the USA on 01/22/2012. Your task is to write a Java application that will read the file and calculate the following Number of standard not decommissioned zip codes in the state of Georgia o Exclude "PO BOX, "UNIQUE", and "MILITARY o Exclude decommissioned postal codes. o Exclude any other state except Georgia. postal codes. Use "STANDARD only Calculate the total amount of wages for all zip codes in the state of Georgia Find the zip code that has highest total wages in Georgia (5 bonus points optional) The comma delimited file contains six columns: zip code, zip code type, city, state, decommissioned, total wages code ZipCode 62549 STANDARD 62550 STANDARD 62070 STANDARD 62965 PO BOX 62262 STANDARD 62865 STANDARD 61857 PO BOX 1941 PO BOX State Decommisioned TotalWages 39599294 48532288 MT ZION MOWEAQUA MOZIER MUDDY MULBERRY GROVE MULKEYTOWN IL IL IL IL IL IL IL IL FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE 2298733 28166281 Your application will have two classes: 1. Program class (with main method) Will execute the logic of reading the file and calculating the statistics. 2. ZipData class Will define class to hold each record in the file When comparing strings make sure to use equalsignoreCase() method. You cannot useoperator when comparing strings. For example, you must use state.equalsignoreCase" GA") instead of state GA

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

C++ Database Development

Authors: Al Stevens

1st Edition

1558283579, 978-1558283572

More Books

Students also viewed these Databases questions