Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction to Wireless and Mobile Systems

Authors: Dharma P. Agrawal, Qing An Zeng

4th edition

1305087135, 978-1305087132, 9781305259621, 1305259629, 9781305537910 , 978-130508713

More Books

Students also viewed these Programming questions