Question: Write a program named CheckZips that is used by a package delivery service to check delivery areas. The program contains an array that holds the

Write a program named CheckZips that is used by a package delivery service to check delivery areas.
The program contains an array that holds the 10 zip codes of areas to which the company makes deliveries. (Note that this array is provided for you and does not need to be changed.)
string[] zips ={"12789","54012","54481","54982","60007","60103","60187","60188","71244","90210"};
Prompt a user to enter a zip code, and display a message indicating whether the zip code is in the companys delivery area.
For example if the user enters a zip code in the array, such as 60007, the output should be Delivery to 60007 ok.
If the user enters a zip code not in the array, such as 60008, the output should be Sorry - no delivery to 60008.
Task #01: Correctly identifies zip codes in delivery 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 Programming Questions!