Answered step by step
Verified Expert Solution
Question
1 Approved Answer
a. House Renovation - variable number of doors, windows and bookcases Change the code fromHW2where NOW the number of doors, windows and book cases is
a. House Renovation - variable number of doors, windows and bookcases Change the code fromHW2where NOW the number of doors, windows and book cases is not known. Thus you will ask for the DIMENSIONS of the room and the number of DOORS, WINDOWS AND BOOKCASES Then use the information to read in the DIMENSIONS and calculate the number of square feet of wall and flooring that will need to be worked. To test the program enter the same data below. The output will be the number square feet wall space and floor space Along with the cost of doing the walls and floors with the fixed price. Use the same data from HW2 on the selections for the flooring. (NOTE: only thing changing from HW2 is that you will be dynamically asking for and using the doors, windows and bookcases - rest of the problem stays the same First renovation project (THREE DOORS, ONE BOOKSHELF, NO WINDOWS) . o Room is 12 feet long, 12 feet wide, and 12 feet high o Door 1 is 2 feet wide by 10 feet high o Door 2 is 3 feet wide by 5 feet high o Door 3 is 3 feet wide by 5 feet high o Bookshelf is 8 feet long by 10 feet high by 2 feet deep o No windows Second renovation project (3 WINDOWS,2 BOOKSHELFS, NO DOORS) . o Room is 24 feet long, 12 feet wide, and 8 feet high o Window 1 is 2 feet wide by 6 feet high o Window 2 is 3 feet wide by 5 feet high o Window 3 is 8 feet wide by 5 feet high o Bookshelf 1 is 8 feet long by 6 feet high by 3 feet deep o Bookshelf 2 is 3 feet long by 6 feet high by 2 feet deep o No doors Third renovation project (ONE DOOR, 2 WINDOWSS, ONE B0OKSHELF) . o Room is 12.75 feet long, 11.25 feet wide, and 12 feet higlh o Door is 1.95 feet wide by 10 feet higlh o Window 1 is 2.5 feet wide by 5 feet high o Window 2 is 6.8 feet wide by 7.2 feet high o Bookshelf is 8 feet long by 6 feet high by 3 feet deep Repeating the information from HW2: For all three renovation projects from Project 1 use Tile $4.00 /sa ft Wood $3.00/ sg ft Carpet- $2.00/ sq ft and linoleum- $1.00/sq t) Use the following as the budget and preference Budgetpreference Renovation1Renovation 2 Renovation 3 User preference Budget 255.00 250.00 400.00
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started