Computes the cost to ship a package based on the input

Assignment Help Other Subject
Reference no: EM13283216

Write a program that asks the user for information and then computes the cost to ship a package based on the input.

The program first asks the user for a shipping address.

It then asks the user for a delivery type: parcel or overnight.

Then the user is prompted for the dimensions of the package: length, width, height.

The program then asks for the weight of the package.

Based on this information, compute the cost to ship the package based on the following tables:

Volume Parcel Overnight

---------------------------------

>4 cuft Not accepted

>3 cuft $19.99 $59.99

>2 cuft $9.99 $29.99

>1 cuft $6.99 $19.99

>0 cuft $5.99 $15.99

Weight Additional Charge

-----------------------------

>10 pounds Not accepted

>5 pounds $8.49

>2 poinds $1.99

>0 pounds $0.00

Add 6% sales tax.

Display the Shipping address, the box dimensions, volume, and weight ( to 2 decimal places ), type of shipment selected (parcel/overnight), and finally the cost, sales tax, and total (cost + sales tax). All dollar amouts must be formatted correctly, i.e. $4.50 not 4.5.

Input validation: Do not accept values <= 0 for any input.

Reference no: EM13283216

Questions Cloud

Barriers to integration that required a strategic change : What were the barriers to integration that required a strategic change for Baylor Health Care? What were the six principles of high performance for IT? How did organizing around core competencies facilitate delivery of IT for Baylor Health Care?
Christ better within their community and culture : Provide 2 or 3 specific and practical steps Christians can take to help the church to reflect Christ better within their community/culture. Why do you think this will change perception of the church?
Nursing research is used to study a dilemma : Nursing research is used to study a dilemma or aproblem in nursing.Examine a problem you have seen in nursing.why should it be studied?justify your rationale.
Descriptive epidemiology : Give your opinion on the most important characteristic and/or behavior, modifiable and un-modifiable, which makes a person more or less likely to develop a disease
Computes the cost to ship a package based on the input : Write a program that asks the user for information and then computes the cost to ship a package based on the input.
Drive video clip from learning activity : Review the RSA Animate - Drive video clip from Learning Activity. What two ideas does the narrator reveal about the assumptions that "A whole set of unbelievably interesting studies" were challenged?
Major tensions-alliance with a biotechnology firm : What do you think are the possible major tensions that exist when a pharmaceutical firm forms an alliance with a biotechnology firm? How would you try to address those tensions?
What are the pros and cons of contracting : What are the pros and cons of contracting with the local company to custom-produce your product line? Since you do not plan to be in the store during all the hours it is open, what specific decision-making authority would you delegate to the two assi..
Appraisal and estimate a well-supported value opinion : You complete an appraisal and estimate a well-supported value opinion. However the client calls to inform you the zoning of the property may change. The client now wants to know how the value would be affected.

Reviews

Write a Review

Other Subject Questions & Answers

  Do companies have personalities and who shapes them

Why would an organization provide employee services beyond the minimum, especially when pressure for profits continue to mount? What does that communicate to you about the company? Do companies have personalities and who shapes them?

  Necessary micronutrients-facilitation of government program

Is there any way to guarantee everyone is getting all of their necessary micronutrients? Explain why or why not. Could a government program successfully facilitate such an endeavor?

  Evaluate the hindu ideas of brahman-atman and reality

Explain and evaluate the notions of Karma, samsara, and Nirvana. Explain and evaluate the Hindu ideas of Brahman, atman and reality. Explain the Buddha's four noble truths. Is he correct in his view?

  Microwave oven and the dangerous nuclear radiation

our Grandma Pauline has just won a microwave oven in a radio contest. When it arrives at her house, it sits on her counter, unused, for a month.

  Personality-attitude and behavior—as important

Are the intangibles—such as personality, attitude, and behavior—as important to consider when evaluating an employee as is his or her work product? Provide some examples to support your rationale.

  About endangered species

The children in Lizzie and Joey's school saw a slide show about endangered species. They were told to remember as many animal names as they could.

  Chinese marketing analysis

The purpose of this paper (e.g. literature review, biblography) is utilized in order to examine the characteristics of Chinese culture which are different from the West (in terms of multicultural marketing) and to examine

  Persuasive techniques

What are the key persuasive techniques used in advertising for fast food? Illustrate with specific examples, explaining how each technique works.

  Health care facility

Write a fictional scenario of a patient’s visit to your health care facility. The scenario should include general information about the patient and the reason for his or her visit.

  Advantage of exclusive dealing

Which of the following is an advantage of exclusive dealing?

  Perception of hearing concept

How do you interpret the information beneath as it relates to hearing sensory information which is organized to a perceptual and recognizable pattern.

  Concept of personal constructs

Could someone describe the concept of personal constructs? What is a personal construct? How are personal constructs related to social perspectives?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd