Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A construction company charges has the following charges: windows cost $45 each door cost $21 each carpet on the second-floor cost $2.15 per square foot
A construction company charges has the following charges: windows cost $45 each door cost $21 each carpet on the second-floor cost $2.15 per square foot hard wood on the main level is $4.13 per square foot If the buyer wants to finish the basement then their cost will be $3.11 per square foot, the basement square footage will be the same as the main level. If the house will have a basement and the house is over 2500 square feet, then they get a $500 discount on the final amount. If there will not be a finished basement then the discount will be as follows: 500 to 1000 square feet: $150 1001 to 1500 square feet $185 1501 to 2000 square feet: $215 2001 square feet and up: $315 Write a program that asks the user what square footage they would like for the second floor, main floor and whether they want a finished basement. Make sure the user enters a positive value for each level and the total square footage is at least 1000 (this includes the basement), if not then inform the user and they will have to re-enter all the information. Output the square footage for each level, the bonus, and the total they will need to pay. Use the scanner for input with the following values to test your program: 8 windows, 2 doors. 740 square feet on the second floor, 1200 on the main level, with a finished basement A construction company charges has the following charges: windows cost $45 each door cost $21 each carpet on the second-floor cost $2.15 per square foot hard wood on the main level is $4.13 per square foot If the buyer wants to finish the basement then their cost will be $3.11 per square foot, the basement square footage will be the same as the main level. If the house will have a basement and the house is over 2500 square feet, then they get a $500 discount on the final amount. If there will not be a finished basement then the discount will be as follows: 500 to 1000 square feet: $150 1001 to 1500 square feet $185 1501 to 2000 square feet: $215 2001 square feet and up: $315 Write a program that asks the user what square footage they would like for the second floor, main floor and whether they want a finished basement. Make sure the user enters a positive value for each level and the total square footage is at least 1000 (this includes the basement), if not then inform the user and they will have to re-enter all the information. Output the square footage for each level, the bonus, and the total they will need to pay. Use the scanner for input with the following values to test your program: 8 windows, 2 doors. 740 square feet on the second floor, 1200 on the main level, with a finished basement
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