Question: A simple java program. No Arrays required. Thanks a. House Renovation - variable number of doors, windows and bookcases Change the code from HWwbere NOW




A simple java program. No Arrays required. Thanks
a. House Renovation - variable number of doors, windows and bookcases Change the code from HWwbere 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 BoOKSHELF) . o Room is 12.75 feet long, 11.25 feet wide, and 12 feet high 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 a. House Renovation - variable number of doors, windows and bookcases Change the code from HWwbere 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 BoOKSHELF) . o Room is 12.75 feet long, 11.25 feet wide, and 12 feet high 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
