Question
a major shipping company has hired you develop a program that computes the shipping cost of packages based on the weight of the package. The
a major shipping company has hired you develop a program that computes the shipping cost of packages based on the weight of the package. The company uses the following weight-based rule to compute the shipping cost: costShipping = 3.75 + weight + 1.25, if 0
can someone help me with this javascript code (i use a program called eclipse for this), thank u so much.
your full name: Amari Cooper Enter package weight: 45.2 Amari, the package cannot be shipped. Hints: 1. Use the appropriate data type to read the full name and package weight entered by the user. 2. Extract the first name using the appropriate methods from the full name. 3. Use the appropriate logical operator to evaluate the range in which the package weight falls. 4. Make use of the multi-way if-else statements to display the appropriate output. Deliverables: Your .java file including: 1. A sample run with user name as \"Saul Goodman and package weight as 22.8. Include this sample run as a comment on top of your Java code. Grading: 1. Read the
Step 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