Homework: Data Structure Arrays
Overview
Write a program for a real estate agent. The program should perform the following tasks:
A. Create an array to hold average house price for the each of past 25 years for a single family residence of 1500 square feet. Initialize the array with the values in sorted order, assuming the average house price increases each year.
Prompt the user for a house value.
B. Use a binary search algorithm to determine the year that most closely matches the house value entered by the user and display the year and average house value for that year.
After you finish the program, submit the source code and a screen shot of the output.
Homework Expectations
A. Use proper data structure to solve programming task.
B. Demonstrate your knowledge of searching using the binary search algorithm.
Format your homework according to the give formatting requirements:
1. The answer must be double spaced, typed, using Times New Roman font (size 12), with one-inch margins on all sides.
2. The response also includes a cover page containing the title of the homework, the course title, the student's name, and the date. The cover page is not included in the required page length.
3. Also include a reference page. The references and Citations should follow APA format. The reference page is not included in the required page length.