Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
C# Coding Trouble
William Langly
Oct 28 2017 10:21 AM
287
Reply
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"};
}
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
Web Service Console Application
Program Trouble