Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using Java programming language: Write a program that determines if a package can be shipped, based on it's dimensions and weight. Prompt the user to
Using Java programming language:
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 weigh 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 wishStep 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