subject

This is an expansion on Mini Project 2. We will be incorporating functions into our program. Requirements:
Modify your Mini Project 2 so that the section that determines the volume of the box is a function. The function will take in the height, length and width and it will return to the program the volume. You must demonstrate the use of function prototypes.
The function will be called within your loops.
mini project 2 :
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
Requirements:
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.
Requirements:
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)
Formatting:
Your Output is to look like this. I want you to use your iomanip formatting tools to produce the following:
East County Box Company
Sales Program (version 1.5)
Enter package dimensions (feet):
Length: 5
Width: 2
Height: 2
Package Volume: 20 cubic feet
Shipping Cost ($2.50 per cubic foot) $ 50.00
Sales Tax (0.0775) $ 3.88
Total $ 53.88
C++ please!

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 15:30
Communication is the exchange of information. true or false?
Answers: 1
question
Computers and Technology, 22.06.2019 16:30
Primary tech skills are skills that are necessary for success in online education
Answers: 3
question
Computers and Technology, 23.06.2019 15:00
Visually impaired individuals generally rely on the for navigation. thus, designers need to ensure that mouse-specific inputs, such as pointing, clicking, and hovering, can be done without a mouse.
Answers: 1
question
Computers and Technology, 24.06.2019 11:00
Each row in a database is a set of unique information called a(n) ? a.) table. b.) record. c.) object. d.) field.
Answers: 2
You know the right answer?
This is an expansion on Mini Project 2. We will be incorporating functions into our program. Requir...
Questions
question
Mathematics, 07.05.2021 02:00
question
Mathematics, 07.05.2021 02:00
question
Mathematics, 07.05.2021 02:00
Questions on the website: 13722365