Question: Homework problem: Design a program that prompts the user for data about a house to be built, asking the user for the following data: number

 Homework problem: Design a program that prompts the user for data

Homework problem: Design a program that prompts the user for data about a house to be built, asking the user for the following data: number of bedrooms number of bathrooms number of cars the garage holds. Output the price of the home, which is a $50,000 base price, plus $20,000 for each bedroom, $10,000 for each bathroom, and $5,000 for each car the garage holds

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!