Question
C# Create a GUI program named DeliveryCharges that is used by a package delivery service to check delivery areas. The program should contain an array
C#
Create a GUI program named DeliveryCharges that is used by a package delivery service to check delivery areas.
The program should contain an array that holds 10 zip codes of areas to which the company makes deliveries.
76801 76844 79600 79601 79602 79603 79604 79605 79606 79607
The program should prompt the user to enter a zip codethey want to ship to
Display a message indicating whether the zip code is in the companys delivery areaor not.
Modify the program to calculate a delivery chargebased on the zip code and weight of the package.
The program should prompt the user to enter the weight of the packageand calculate the charge
The program should contain a two dimensional parallel array that holds varying prices for each zip code based on package weight of less than 2 pounds, 2 to 10 pounds, and over 10 pounds
< 2 5.50 6.50 7.50 8.50 9.50 10.50 11.50 12.50 13.50 14.50
2 -10 10.50 11.50 12.50 13.50 14.50 15.50 16.50 17.50 18.50 19.50
> 10 20.50 2 1.50 22.50 23.50 24.50 25.50 26.50 27.50 28.50 29.50
Provided the zip code is within the delivery area, a message should read similar to:
We can deliver the50 pound package to zip code 76844for a charge of $21.50.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started