Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

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

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

Databases In Networked Information Systems 6th International Workshop Dnis 2010 Aizu Wakamatsu Japan March 2010 Proceedings Lncs 5999

Authors: Shinji Kikuchi ,Shelly Sachdeva ,Subhash Bhalla

2010th Edition

3642120377, 978-3642120374

More Books

Students also viewed these Databases questions

Question

is "void _ main" an invalid variable name in C + + ?

Answered: 1 week ago

Question

What is understood by ROC curve?

Answered: 1 week ago

Question

=+Understand the fi eld of comparative IHRM.

Answered: 1 week ago

Question

=+j Understand different types of regions in the world.

Answered: 1 week ago