Question: Step 1: Create pseudocode for a program for the River Falls Homes Construction Company. Design a program that prompts the user for a lot number

Step 1: Create pseudocode for a program for the River Falls Homes Construction Company. Design a program that prompts the user for a lot number in the River Falls subdivision and data about the home to be built there, including number of bedrooms, number of bathrooms, and the number of cars the garage holds. (You do not need to perform any error checking of user input for this program.)

Output is the price of the home, which is a $50,000 base price plus $17,000 for each bedroom, $12,500 for each bathroom, and $6,000 for each car the garage holds.

Use named constants for base price, bedroom price, bathroom price, and garage price.

Use the modular approach shown in Chapter 3. You should have 3 modules:

main() program driver and main loop

housekeeping() Display purpose of program

endOfJob() terminate program

Use the Pseudocode template provided as the framework for your design.

Step 2: Desk check your design in a table

Use the following test data:

Case 1 Case 2 Case 3

Lot number: 1572 1600 1759

Number of bedrooms 3 4 2

Number of bathrooms 2 3 1

Number of cars per garage 2 2 0

Use a table like the following:

lotNbr

nbrBedrooms

nbrBaths

nbrGarage

totalCost

Case 1

1572

3

2

2

??

Case 2

1600

4

3

2

??

Case 3

1759

2

1

0

??

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!