Cuyamaca College C++ Programming Code

User Generated



Cuyamaca College


For this project, we will be expanding on Project 1.

The box company you work for in an attempt to bring in more customers has decided to offer fluctuating prices based on the cubic feet of the package. The new rates are:
Small Packages under 15 cf = $1.50 per cf
Medium Packages 15 cf to 45 cf = $2.50 per cf
Large Packages over 45 cf = $3.00 per cf

You will create variable for each of the three package sizes, initiating each to the price per cubic foot.
To determine which price to use, you will use either if statements or switch statements to accomplish this task.

Next Task:
The box company has decided to put a limit on the size of the packages. It will no longer ship packages larger than 65 cubic feet. The company wants to cashiers alerted to packages that are too large during the dimensions collection.

Create a loop around to dimensions collection of your program so it checks to make sure the package is under the more than 65 cubic feet limit and to give the cashier a chance to change the dimensions in case of input error before it gets processed for a price. (Hint: you will need to initiate your dimension variables)


You MUST use iomanip formatting tools to produce the following:


East County Box Company

Sales Program (version 1.5)

Enter package dimensions (feet):
Length: 5
Width: 5
Height: 4

This package exceeds the 65 cubic foot limit. Please input again.

Enter package dimensions (feet):
Length: 5
Width: 3
Height: 4

Package Volume: 60 cubic feet

Shipping Cost ($3.00 per cubic foot) $ 180.00
Sales Tax (0.0775) $ 13.95

Total $ 193.95

Explanation & Answer:
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

View attached explanation and answer. Let me know if you have any questions.Hi, I have already completed mini project 2 and it i...

Just what I was looking for! Super helpful.


Related Tags