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, 24.06.2019 00:30
Setting up a home network using wireless connections is creating a a. vpn b. lan c. wan d. mini-internet
Answers: 2
question
Computers and Technology, 24.06.2019 14:30
Alison is having a hard time at work because hee inbox is flooded with emails every day. some of these emails are unsolicited. some of other she don’t need. which action should she take to better manager her emails?
Answers: 1
question
Computers and Technology, 25.06.2019 03:30
What best describes the purpose of occupational safety and health administration
Answers: 1
question
Computers and Technology, 25.06.2019 07:50
Assignment: permutations use the permutation formula   r ! ! n n p nr   to solve each problem. be sure to show all work leading to your answer. part i: solve real-world permutation problems choose any four (4) of the following five problems to solve. for each problem a) show how the permutation formula can be used to find the answer and b) write a sentence to explain the meaning of the answer for the situation. 1. to register for online banking services at a local credit union, you need to select a four-digit personal identification number, or pin code. the digits cannot be repeated. how many ways are there to arrange four digits out of the numerals 0 through 9 to create a code?
Answers: 3
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, 04.02.2021 21:10
question
Mathematics, 04.02.2021 21:10
question
Geography, 04.02.2021 21:10