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...
-
Chaz transfers cash of $60,000 to a newly formed corporation for 100% of the stock. In its initial year, the corporation has net income of $15,000. The income is credited to its earnings and profits...
-
Using the data in pets.sav (Chapter 4, Task 5), test whether people with fish or cats as pets differed significantly in their life satisfaction. Chapter 4 Task 5 According to some highly unscientific...
-
Refer to Exercise 12. Can you reject H0 at the = 0.05 level? State a conclusion. Exercise 12 A simple random sample of 17 business majors from a certain university had a mean GPA of 2.81 with a...
-
Using smoothing constants of 0.6 and 0.9 develop forecasts for the sales of Cool-Man air conditioners. Data from Sales of Cool-Man air conditioners have grown steadily during the past 5 years: YEAR...
-
Calculate the change of internal energy of 10kg of air modeled as the ideal gas in a closed system when the air temperature decreases from 800K to 500K and the specific heat ratio is 1.37. Enter the...
-
Describe a representation that could be used in a program to solve analogy problems like that in Figure 7.29. This class of problems was addressed by T. G. Evans (1968). The representation must be...
-
Karlik Enterprises distributes a single product whose selling price is $24 per unit and whose variable expense is $18 per unit. The companys monthly fixed expense is $24,000. Required: 1. Prepare a...
-
Fiona lost her pet dog and told Mary, If you find my dog and return him to me, Ill pay you \($200.\) Mary said nothing in response but found the dog and returned him. Fiona refused to pay because...
-
In a landmark case, William E. Story told his nephew in March 1869 that if the nephew would refrain from drinking liquor, using tobacco, swearing, and playing cards or billiards for money until he...
-
The Fourth Amendment prohibits searches without a reasonable suspicion to justify them. When an individual is arrested, law enforcement officers routinely fingerprint and photograph prisoners for...
-
Hong Hong Printing Company has sales totaling $40,000,000 in fiscal year 2012. Some of the ratios for the company are listed below. Use this information to determine the dollar values of the various...
-
Defendants in a criminal proceeding have a right to the assistance of counsel. Petty Crime Pat was charged with driving with a revoked drivers license four times. Under the law, the fourth offense...
-
Bill Lutes's dog is on a strict diet. The dog is to receive, among other nutrients, 40 grams of protein and 6.4 grams of carbohydrates. Bill has only two food mixes available of the following K...
-
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...
-
Briefly explain the connections between values such as effort optimism, utilitarian individualism, and the American economic system. Throughout this chapter, we have identified culture as something...
-
Do you speak a language other than English as a first language? If so, do you want your children and grandchildren to speak that language? In the United States, the tools of government and education...
-
If English is your first language, did your parents or grandparents speak a different first language? How do you feel about your ability (or lack of ability) in that language? In the United States,...
Study smarter with the SolutionInn App