At We Ship Anything, we need to create a program that will calculate the charges associated...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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. 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.
Expert Answer:
Answer rating: 100% (QA)
Mainjava import javautilScanner public class Main public static void mainString args ... View the full answer
Related Book For
Microsoft Visual C# An Introduction to Object-Oriented Programming
ISBN: 978-1337102100
7th edition
Authors: Joyce Farrell
Posted Date:
Students also viewed these programming questions
-
You have been asked to design a program that will allow a teacher to calculate the percentage and the final grade for students in a class. The program will prompt the teacher to enter the student's...
-
What specific information do you need to create a work breakdown structure?
-
The package inheritance hierarchy (below) to create a program that displays the address information and calculates the shipping costs for several packages. The program should contain a vector of...
-
The 2017 financial statements for the Thor and Gunnar companies are summarized below. These two companies are in the same business and in the same province but in different cities. One-half of Thor?s...
-
Describe a strategy to randomly split 24 tomato plants into the three groups for the completely randomized single factor experiment of Exercise 4.
-
Refer to Practice 23-5. Company B and Company C had the following DuPont framework ratio values for Year 3: Which company'A, B, or C'had the highest ROE in Year 3? Comment on yourresults. Company C...
-
In 1951, DuPont began using the chemical perfluorooctanoic acid to manufacture Teflon. Due to the dangerous nature of the chemical, DuPont was given special instructions by its supplier to dispose of...
-
In recent years, Harper Transportation purchased three used buses. Because of frequent employee turnover in the accounting department, a different accountant selected the depreciation method for each...
-
On January 1, 2024, the general ledger of Dynamite Fireworks includes the following account balances: Accounts Cash Debit $24,900 Credit Accounts Receivable 6,300 Supplies 4,200 Land 61,000 Accounts...
-
How could B/C analysis be used to help determine the level of subsidy to be paid to the operator of public transportation services in a congested urban area?
-
What is: 1. Problems Facing the Company a. Statement of the problem (main issue to be resolved) b. Order the case issues according to importance 2. Analysis of the Case a. State your...
-
simplify ( 7 x 3 y 4 ) ( 6 y 3 )
-
critically discuss the observation stage of the Needs Analysis in the Systems Development lifecycle
-
simplify 5 / ( 1 0 2 4 ^ ( 1 / 6 ) )
-
Provide examples relating to the 4ps of how Breezy could stick with the tried and true, and continue focusing on the North American market, working with its existing partners to develop products for...
-
Identify the different fields of Intellectual property? Explain the origin and nature of copyright. Can you Identify whether or not copyright subsists in a work? Explain the concept of...
-
6. What is the WVTR (g.mil/100 in2 d) for the following structure: 1.0 mil LDPE/2.0 mil nylon 6/1.5 mil PP/0.8 mil LDPE? Calculate the WWTR of the multilayer film and then calculate the permeability...
-
The percentage of completion and completed contract methods are described in the FASB ASC. Search the codification to find the paragraphs covering these topics, cite them, and copy the results.
-
If necessary, create a new project named Advanced19 Project, and save it in the Cpp8\Chap06 folder. Enter (or copy) the instructions from the Lab6-2.cpp file into a new source file named...
-
A program stores sales amounts in two double variables named marySales and jimSales. Write the C++ code to assign the highest and lowest sales amounts to the highSales and lowSales variables,...
-
If necessary, create a new project named Advanced26 Project and save it in the Cpp8\Chap14 folder. Also create a new source file named Advanced26.cpp. Write a program that allows the user to record...
-
Parents with a child in subsidized childcare in the province of Qubec, Canada, pay a basic amount and, depending on family income, may pay an additional amount. As of January 1, 2017, families with a...
-
A firm in the state of Karnataka in India can source one of its factors of production either within the state, \(F_{K}\), or from the neighboring state of Maharashtra, \(F_{M}\). Assume the quality...
-
A firm has the cost curve \(C(q)=25+q^{2}\). Show how the firm's average cost varies with output. Is there a minimum average cost and, if so, at what level of output is average cost minimized?
Study smarter with the SolutionInn App