Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Homework Help/Study Tips Expert

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.

Homework Help/Study Tips, Others

  • Category:- Homework Help/Study Tips
  • Reference No.:- M9862554

Have any Question?


Related Questions in Homework Help/Study Tips

Assignmenta answer the following two questions with at

Assignment a. Answer the following two questions with at least 2 paragraphs or on great detailed paragraphs; What are the differences between the limitations on searches that may be conducted of passengers arriving by pl ...

The role of culture in childrearingculture representing

The Role of Culture in Childrearing Culture, representing what each individual has learned through his or her unique process of socialization, influences our theories of childrearing. Decisions about whether a 3-month-ol ...

Understanding the digital revolution - video and disruption

Understanding the Digital Revolution - Video and Disruption Report Assignment Overview - For this assessment task, you will create a two-minute video and written proposal about the impact of a particular technology on an ...

Case questions 1the universal power supply may be

Case Questions: 1. The universal power supply may be considered a postponement strategy by reducing the anticipated risks that may arise in a supply chain. It also may design generic parts that may be shared between ware ...

Business communication assessment - individual

Business Communication Assessment - Individual Essay Assessment Task: Essay Write a persuasive academic essay on one of three given topics related to communication. The essay will be written in accordance with the guidel ...

Question for this assignment you will create a

Question: For this assignment, you will create a five-question quantitative survey and survey 5-8 people anonymously. Your questions should be created based on the five medical home functions and attributes presented in ...

Question write a 4-5 page paper discussing the

Question: Write a 4-5 page paper discussing the following: 1. How can succession planning be implemented effectively within organizations? 2. Explain the differences between outsourcing and offshoring, and how each impac ...

Delattre 2011 discusses corruption within policing and

Delattre (2011) discusses corruption within policing and maintains that officers must present a positive public image to insure the public's trust and support. The author states that accountability must be adhered to by ...

Question the basic guidelines for analyzing ethical case

Question: The basic guidelines for analyzing ethical case are as follows: 1. Issues a. What are the major moral or ethical issues raised by the case? b. What are the major factual issues raised by the case? c. What are t ...

Question welcome to the unit vii discussion board be sure

Question: Welcome to the Unit VII discussion board! Be sure to read the unit lesson and reading assignments before posting so that they can inform your post. Begin by reading the unit lesson first. Have you ever seen Mir ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As