Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You have been hired by a real estate agent to write a program that will advise them if they should or should not show an
You have been hired by a real estate agent to write a program that will advise them if they should or should not show an apartment to a client.
The program must ask the user to enter the following information and save the values entered into variables (use the types and names below).
- int squareFeet;
- int bedRooms;
- double bathrooms:
- int floor:
- boolean elevator;
- boolean offStreetParking;
- double monthlyRent;
Able wants an apartment that:
- is at least 1500 square feet in size
- has at least 2 bedrooms
- has at least 2 bathrooms
- has off street parking and an elevator
- rent <= $2000 per month
Baker wants an apartment that:
- is at least 500 square feet in size
- has 1 bedroom
- has 1 bathroom
- rent <= $1000 per month
Charlie wants an apartment that:
- is at least 2000 square feet in size
- has 3 bedrooms
- has 2 bathrooms
- rent <= $3000 per month
- is on floor 4 or above
- has an elevator
Delta wants an apartment that:
- is at least 1500 square feet in size
- has 3 bedrooms
- has 2 bathrooms
- rent <= $3000 per month
- is on floor 4 or above
- has an elevator
- has off street parking
Step by Step Solution
★★★★★
3.53 Rating (153 Votes )
There are 3 Steps involved in it
Step: 1
Here is a Python program that asks the user to enter the required information about an apartment and advises if it should be shown to a client based o...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