Question: Project is in C#: Create a project that will calculate shipping charges from a two-dimensional table of rates. The rate depends on the weight of
Project is in C#:
Create a project that will calculate shipping charges from a two-dimensional table of rates. The rate depends on the weight of the package and the zone to which it will be shipped. The weight column specifies the maximum weight for that rate. All weights over 10 pounds use the last row. Optional Extra : Add a report that displays all items shipped; include the total charges.
| Zone | ||||
|---|---|---|---|---|
| Weight | A | B | C | D |
| 1 | 1.00 | 1.50 | 1.65 | 1.85 |
| 3 | 1.58 | 2.00 | 2.40 | 3.05 |
| 5 | 1.71 | 2.52 | 3.10 | 4.00 |
| 10 | 2.04 | 3.12 | 4.00 | 5.01 |
| >10 | 2.52 | 3.75 | 5.10 | 7.25 |
Any help would be apperciated. I need help mostly for setting up the logic behind this.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
