Best Houses Company sells houses to their customers and needs a program to facilitate the selling process. Write a JAVA program that asks the user to enter house number (int), house size in square meters (double), and house price (double) and store them in three parallel arrays. The number of houses is 10. Then, the program should ask the user to enter the price range of the required house which is the start price and the last price in the range and should do the following: Print all the information of the houses within that range. Print the number of houses in the specified range.
Best Houses Company sells houses to their customers and needs a program to facilitate the selling process. Write a JAVA program that asks the user to enter house number (int), house size in square meters (double), and house price (double) and store them in three parallel arrays. The number of houses is 10. Then, the program should ask the user to enter the price range of the required house which is the start price and the last price in the range and should do the following: Print all the information of the houses within that range. Print the number of houses in the specified range.
Chapter9: Advanced Array Concepts
Section: Chapter Questions
Problem 2PE
Related questions
Question
Best Houses Company sells houses to their customers and needs a
- Print all the information of the houses within that range.
- Print the number of houses in the specified range.
![ITCS113 Computer Programming 1
LAB Assignment #5
Chapter 7
Best Houses Company sells houses to their customers and needs a
program to facilitate the selling process. Write a JAVA program that
asks the user to enter house number (int), house size in square meters
(double), and house price (double) and store them in three parallel
arrays. The number of houses is 10. Then, the program should ask the
user to enter the price range of the required house which is the start
price and the last price in the range and should do the following:
(a)Print all the information of the houses within that range.
(b)
Print the number of houses in the specified range.
Sample Input/Output
Enter house number, size, and price for 10 houses:
23
210.00
90000.90
35
240.00
11000.25
91
225.00
135000.00
320.0
64
Enter the price range: 100000.0 140000.0
House Information for this range:
House
Price
180000.75
Size
240.00
225.00
35
110000.25
91
135000.00
The number of houses found was 2](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fa62d48b5-5ef6-498c-a2fc-e04b7f54d653%2F31139076-887b-4780-8138-f09a4eb84b6d%2Fmbbr3yj_processed.png&w=3840&q=75)
Transcribed Image Text:ITCS113 Computer Programming 1
LAB Assignment #5
Chapter 7
Best Houses Company sells houses to their customers and needs a
program to facilitate the selling process. Write a JAVA program that
asks the user to enter house number (int), house size in square meters
(double), and house price (double) and store them in three parallel
arrays. The number of houses is 10. Then, the program should ask the
user to enter the price range of the required house which is the start
price and the last price in the range and should do the following:
(a)Print all the information of the houses within that range.
(b)
Print the number of houses in the specified range.
Sample Input/Output
Enter house number, size, and price for 10 houses:
23
210.00
90000.90
35
240.00
11000.25
91
225.00
135000.00
320.0
64
Enter the price range: 100000.0 140000.0
House Information for this range:
House
Price
180000.75
Size
240.00
225.00
35
110000.25
91
135000.00
The number of houses found was 2
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,