Write a computer program that will help a shopper find a home based on one criterion of their choosing:
The user can choose from maximum distance, maximum price, minimum number of bedrooms, or minimum number of bathrooms. The program should then display every house that matches that criterion.
number street dist price bed bath1 Main 50 200000 3 25 4th 70 220000 3 1.5100 Orange 5 250000 2 275 MLK 120 300000 4 1901 Main 75 190000 2 135 3rd 20 180000 1 137 3rd 20 179000 1 15 Main 60 180000 3 2200 Apple 300 150000 5 3300 Privet 500 120000 3 3
Choose a criterion to find your dream home:1: maximum distance2: maximum price3: minimum number of bedrooms4: minimum number of bathrooms5: Exit program.Enter the category (1-5):1Enter the maximum desired distance: 20
Address: 100 Orange Distance: 5$250000Bedrooms: 2 Bathrooms: 2
Address: 35 3rd Distance: 20$180000Bedrooms: 1 Bathrooms: 1
Address: 37 3rd Distance: 20$179000Bedrooms: 1 Bathrooms: 1
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here