subject

This program should calculate package shipping costs. The shipping company has the following discount percentages:
Shipping Costs Discount %
$500 or less 1.9%
$500.01 to $900 2.8%
$900.01 to $1200 3.2%
$1200.01 or more 3.75%
Package Types Shipping Costs
1. Video Games: Cost is number of video games * $19.99 per video game. For optional overnight delivery,
add $4.99. Optional insurance is 5% of the cost.
2. Brain Phones: Cost is number of brain phones * $899.99 per brain phone. For optional overnight delivery,
add $35.00. If a brain phone case is needed, add $25.99 per brain phone. The number of brain phones
requiring the brain phone case should be passed to the appropriate method. Optional insurance is 12% of the
cost.
3. Hot Dogs: Cost is number of hot dogs * $5.99 per hot dog. For optional overnight delivery, add $7.00. If
condiments are needed, add $2.49 per hot dog for the condiments. If hot dog buns are to be ordered, an
additional charge of $2.29 per hot dog is required. Optional insurance is 4% of the cost.
4. A Package Type of your choice: Please include documentation (comment statements) stating how the
costs should be calculated for your package type.
For each package type, print out the name, address, city, state, and zip code for the customer. In addition,
print out the date the package is expected to arrive along with the total cost with how the calculation was done,
the discount percentage, the discount amount, and the total cost after the discount is subtracted off. Please
make sure to include output for each of the four package types.
Your program should use virtual functions including at least one pure virtual function with polymorphism.
Your program should have one class for each package type along with a base-class that contains the
appropriate data members and methods. An example of sample output for video games could be:
Customer: Joe Blow Expected Arrival Date: 9-25-2021
1234 Main Street
Irvine, CA 92618
4 video games ordered: shipping cost is $79.96, overnight delivery is $4.99, no insurance specified
Total Cost is $84.95
Discount Percentage is 1.9% for a discount of $1.61
Total Cost after discount is $83.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:00
Program description: a c# app is to be created to produce morse code. the morse code assigns a series of dots and dashes to each letter of the alphabet, each digit, and a few special characters (such as period, comma, colon, and semicolon). in sound-oriented systems, the dot represents a short sound and the dash represents a long sound. separation between words is indicated by a space, or, quite simply, the absence of a dot or dash. in a sound-oriented system, a space is indicated by a short period of time during which no sound is transmitted. the international version of the morse code is stored in the data file morse.txt.
Answers: 3
question
Computers and Technology, 22.06.2019 17:00
1. so if i wanted to build a linux server for web services(apache) with 1cpu and 2 gb of memory.-operating at 75% of memory capacity2. a windows server with 2 cpu/ 4gb memory- operating at 85% of memory capacity3. a storage server with 1 cpu/ 2gb memory- operating at 85% of memory capacityhow much memory do i have to add for each server.so that the utilization rate for both cpu and memory is at a baseline of 60%."the details for the cpu like its processor or the memory's speed isnt to be concerned" yeah i kept asking my teacher if he's even sure about the but the whole class seems to be confused and the project is due in 3 days..this is a virtualization project where i have to virtualize a typical server into an exsi hypervisor.
Answers: 2
question
Computers and Technology, 23.06.2019 17:30
Scientists have changed the model of the atom as they have gathered new evidence. one of the atomic models is shown below. what experimental evidence led to the development of this atomic model from the one before it? a few of the positive particles aimed at a gold foil seemed to bounce back. the colors of light emitted from heated atoms had very specific energies. experiments with water vapor showed that elements combine in specific proportions. cathode rays were bent in the same way whenever a magnet was brought near them.
Answers: 2
question
Computers and Technology, 23.06.2019 21:00
Which set of steps will organize the data to only show foods with more than 100 calories and rank their sugar content from greatest to least?
Answers: 1
You know the right answer?
This program should calculate package shipping costs. The shipping company has the following discoun...
Questions
question
Mathematics, 01.12.2020 20:50
question
Mathematics, 01.12.2020 20:50
question
Mathematics, 01.12.2020 20:50
question
Mathematics, 01.12.2020 20:50
question
History, 01.12.2020 20:50