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 17:10
Write an application that allows a user to enter the names and birthdates of up to 10 friends. continue to prompt the user for names and birthdates until the user enters the sentinel value “zzz” for a name or has entered 10 names, whichever comes first. when the user is finished entering names, produce a count of how many names were entered, and then display the names. in a loop, continuously ask the user to type one of the names and display the corresponding birthdate or an error message if the name has not been previously entered. the loop continues until the user enters “zzz” for a name. save the application as birthdayreminder.java.
Answers: 1
question
Computers and Technology, 21.06.2019 18:00
Which virus-infecting components are email messages prone to carry? one of the problems associated with the use of email communication is that email messages are prone to carry virus-infecting .
Answers: 3
question
Computers and Technology, 22.06.2019 01:20
What is the full meaning of rfid in computer
Answers: 2
question
Computers and Technology, 24.06.2019 04:30
Which of the following terms refers to a collection of different types of software that share the goal of infiltrating a computer and making it do something? a- malware b- virus c- spyware d- trojan horse
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
Business, 20.11.2020 20:00
question
Mathematics, 20.11.2020 20:00
question
Mathematics, 20.11.2020 20:00
Questions on the website: 13722361