Question: Write a program that determines if a package can be shipped, based on it's dimensions and weight. Prompt the user to enter the length, width,

 Write a program that determines if a package can be shipped,

Write a program that determines if a package can be shipped, based on it's dimensions and weight. Prompt the user to enter the length, width, height, and weight of their package, Then output a message based on the following criteria: - If the package is over 50lbs, report that it is too heavy to ship. If the length is over 72 inches, report that it is too long to ship If the width and height of the package combine to be more that 40 inches, report that it is too bulky to ship. If the length is between 50 and 72 inches, and the weight is between 40 and 50 pounds, report that it can be shipped for an extra fee. Save the program as ShippingDimensions,java. You may write an addition class while solving the problem, if you wish

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!