Question: Page Programming Project 4 - House Data Note: When you turn in an assignment to be graded in this class, you are making the claim





Page Programming Project 4 - House Data Note: When you turn in an assignment to be graded in this class, you are making the claim that you neither gave nor received assistance on the work you turned in (except, of course, assistance from the instructor or teaching assistants). Crazy Town is full of crazy houses. It wants to create a program to perform some analysis on certain houses. Write a program called HouseData.java that will contain several methods. Your program will have several parallel arrays in the main method which you will use in the program. The data in the array is related to the other arrays by their position in the array; thus, the house at 304 Oak Ave's square footage is 2634.23. Below are the arrays that you will need. Please note that these are sample arrays. When we test your program, we will be using different arrays. String array of house locations: 304 Oak 209 Main 27 River 65 Park PI 21 Yow 52 Franklin 100 Baltic 200 Maple DI Dr Ave DI St Rd Ave Double array of square footage: 2634.23 2434.67 2790.53 5893.12 3490 2355.78 7900 4356.5 Double array of assessed price: 90456.78 345678.23 892274.90 804392.43 784211.47 823757.02 1453897.44 342190,65 Double array of distance in miles to center of town: 7.3 1.9 79 6.4 1.2 75 10.7 Your program will contain several methods: The first method, calcAvg(), calculates the average from all the values in the double array passed into the method. This method is passed in a double array lije 2 Page
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
