Here is the assignment class: Create a
Java program using NESTED IF and SWITCH that will determine the Shipping Cost of a parcel Based on Location and Weight using the following
criteria:
Location: Domestic or International
For Domestic shipping:
If the package weighs less than or equal to 5 kg, the cost is $5.
If the package weighs more than 5 kg, the cost is $10.
For International shipping:
If the package weighs less than or equal to 5 kg, the cost is $15.
If the package weighs more than 5 kg, the cost is $25.
Additional conditions:
If the package weighs over 20 kg, it cannot be shipped.