Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

At We Ship Anything, we need to create a program that will calculate the charges associated with the weight of a specific package. We

At We Ship Anything, we need to create a program that will calculate the charges associated with the weight of a specific pac 

At We Ship Anything, we need to create a program that will calculate the charges associated with the weight of a specific package. We charge a base rate of $54.03 for any package and then add a premium to it based on the package weight. The additional costs are as follows: If the package weighs less than 2.5 kg then we charge an additional $2.00. If the package weighs 2.5kg to 5kg then we charge an additional $3.00. if the package weighs more than Skg we charge an additional $4.00. Create a program that will ask the user to enter the destination and weight of their package. We will then display destination, the package weight, the base rate, additional package charge and total charge owing. Display it with each of the values on a separate line. Standard comments are included in your file. The assignments MUST be submitted by the posted due date. Once the due date and time has passed - the submission is considered late a mark of zero (0) will be assigned. Keep it simple-do not do more than what was asked Activate Windows TotoSettin You may only use what we have learned in class to this point.

Step by Step Solution

3.34 Rating (154 Votes )

There are 3 Steps involved in it

Step: 1

Mainjava import javautilScanner public class Main public static void mainString args ... 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

Microsoft Visual C# An Introduction to Object-Oriented Programming

Authors: Joyce Farrell

7th edition

978-1337102100

More Books

Students also viewed these Programming questions

Question

Calculate the missing values

Answered: 1 week ago