Question: 1. (40 pts) A client hired you to write a program that calculates the materials and labor cost for home improvement projects. Your task today

1. (40 pts) A client hired you to write a program that calculates the materials and labor cost for home improvement projects. Your task today is to write the part for flooring. Here are the specifications: (1) Rooms are in rectangular shapes, and each room has one and only one door/opening. (2) Wood floors are sold by cases, and each case covers 23.17 sqft. An extra of 10% in material is needed in order to allow for waste and mistakes. The labor cost for laying floors is $2/sqft. Labor cost is calculated based on actual installed floor. (3) Baseboard is also needed to be installed. (If you don't know what baseboards are, google it.) Baseboards come in 16-ft pieces. An extra of 5% in material is needed in order to allow for waste and mistakes. The labor for installing baseboard is $1/linear ft. Labor cost is calculated based on actual length of installed baseboard. An example run is provided. Welcone to Project Planning! What is your nase? Kate HI Kate. Please enter the length of your roon (ft) 15 Please ernter the wiath of the roon (fti: 12.5 Please enter the width of the door (tt): 3.3 The size of your room 1s 187.5 sgft. Each case of wood planks covees 23.17 sqft. You need to purchase 9 cases. The labor cost is $375.00. Each baseboard is 16 ft. You ed to purchase 4 pieces of baseboards. The labor cost is S31.70
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
