Computers and Technology

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!

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 07:30, kimhoss2
What are ways to switch windows in excel? check all that apply. on the status bar, click the windows button, and then click the file name. on the task bar, click to display the excel jump list, and then click the file name. on the view tab, in the window group, click switch windows, and then click the file name. on the review tab, in the viewing group, click files, and then click the file name.
Answers: 1
image
Computers and Technology, 23.06.2019 14:00, allison9746
Need ! will choose brainliest! discuss the role of abstraction in the history of computer software.
Answers: 1
image
Computers and Technology, 23.06.2019 19:00, jaymc1932
Whose task it is to ensure that the product flows logically from one step to another?
Answers: 3
image
Computers and Technology, 24.06.2019 06:30, hannahgracew12
Some peer-to-peer networks have a server and some don't. true false
Answers: 2
Do you know the correct answer?
This is an expansion on Mini Project 2. We will be incorporating functions into our program. Requir...

Questions in other subjects: