I am really stuck on how to do this:
Prompt a user to enter a zip code, and display a message indicating whether the zip code is in the company’s 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."
Here is what i have so far:
{
static void Main()
{
string[] zips = {"12789", "54012", "54481", "54982", "60007",
"60103", "60187", "60188", "71244", "90210"};
}
}

Anoop Kumar SharmaRank #127 · 17.4K reputationPosted Oct 28, 2017, 11:44 AM EDT
Vighnesh Gadekar56 reputationPosted Oct 29, 2017, 10:25 PM EDT
SandyRank #2,015 · 718 reputationPosted Oct 29, 2017, 10:38 PM EDT