Question: USING PYTHON It costs a company $0.75 per cubic foot to build a box. they charge their customers 1.20$ per cubic foot for the box.
USING PYTHON
It costs a company $0.75 per cubic foot to build a box. they charge their customers 1.20$ per cubic foot for the box. You have been asked to write a script that asks for the dimensions of the box.(length,width,height) and the number of items in the box. Then the script should calculate and display the volume in cubic feet, cost,customer price, and profit for a box with those dimensions. the script should check if the owner wants to add additional features to the box like fans for an extra $0.10 per cubic feet. also it should check if the owner wants to add a fire suppression system for an extra $0.05 per cubic feet, and if so , calculate the additional cost. lastly, the script should check if the length, width, and height are greater than 0 . if any of the inputs are less than 0 the script should print "Invalid input, the dimensions must be greater than 0 ".
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
