Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

EZ Build Furniture Company program on Python 80/100 program without any function or method The EZ Build Furniture Company calculates the price for custom-built desks

image text in transcribedimage text in transcribedimage text in transcribed

EZ Build Furniture Company program on Python 80/100 program without any function or method The EZ Build Furniture Company calculates the price for custom-built desks based on the following criteria. See the IPO charts below for the module specifications. All desks are a minimum of $200. Begin by displaying the company information EZ Build Furniture Company Design a Desk ************************* Then prompt the customer to enter the following information. 1. Square footage of the desk surface Prompt the user for the surface area in square feet "Enter the surface area of the desk:" 2. Type of wood Prompt the user for the type of wood to be used for the construction of the desk "Enter type of wood" 3. Number of drawers Prompt the user for the number of drawers for the desk "Enter the number of drawers:" After the user has input the square footage, the type of wood and the number of drawers then calculate the total cost of the desk. Total price of the desk is: $ nnnn.nn Design a program in Python that will determine price of the desk based on the user entry. The program should: Display the following company information: EZ Build Furniture Company Design a Desk **************************** Prompt the user: Enter the surface area of the desk: Enter the type of wood: Enter the number of drawers: Based on the values entered by the user determine the price of the desk. The price of the desk is $9.999.99 NOTE: Remember that Python string comparisons are case sensitive Input prompt for the following: square Foot as integer wood Type as string numberOf Drawers as integer Processing Add an additional $50 to the price of the desk for any desk that is 15 sq ft or more Output Display the results: The price of the desk is $9,999.99 Determine the charge for the wood selection. See chart below woodChg = square Foot * pricePer SQFT Notice the format of the price. The price must include a comma and 2 decimal positions. Don't forget the $ Add the woodChg to the price of the desk. Note: this is one line Determine drawer charge The first 2 drawers are free There is a $50 charge for each additional drawer drawerChg = numberOfDrawers * 50 The prices for the different woods are as follows: Type of Wood Price per SQFT Pine 7.50 Oak 10.75 Mahogany 20.25 All other wood 35.00 + 5 points Enhance the Python program to allow the user to enter Upper case or Proper case for the type of wood entered by the user. i.e. pine or PINE or Pine should all be accepted + 15 points Enhance the Python program to determine if one of the following discounts applies for the EZ Build desk. Each desk can only receive ONE discount and should receive the best discount possible. If the surface area of the desk is over 15 square feet and the type of wood is Oak or Mahogany apply a 24% discount to the price of the desk. Otherwise, if the desk is made of oak with 3 or more drawers apply a 15% discount. Otherwise the last discount is if the total price of the desk is over $500, then apply a 5% discount to the price of the desk. Display the original price followed by the discounted price and then display the discount percent applied along with the discounted amount

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions