Modify your Mini Project 2 so that the section that determines the volume of the box is a function
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.
Output: MUST look like (Red numbers are used to indicate user input):
________________________________________________________________________________________________________
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
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.