Question: use java programming *3.18 (Cost of shipping) A shipping company uses the following function to calculate the cost (in dollars) of shipping based on the
*3.18 (Cost of shipping) A shipping company uses the following function to calculate the cost (in dollars) of shipping based on the weight of the package (in pounds). 3 c) 3.5, ifte 5.5, if I 8.5, if 3 10.5. if 10 10 20 Write a program that prompts the user to enter the weight of the package and displays the shipping cost of the weight is negative or zero, display a message towalid input of the weight is greater than 20 display a message "The package cannot be shipped
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
