Question
VB.NET Write a program that will: Collect data into parallel arrays Process the data on request to show the average family size by zip based
VB.NET
Write a program that will:
Collect data into parallel arrays
Process the data on request to show the average family size by zip based on data collected.
Process
User will call a home from one of the supplied zip codes.
User will ask the house hold size.
User will enter the zip code called and household size and press submit.
The user can call as many households as needed.
At any time, the application should be able to (upon clicking a Statistics button) calculate and display:
the mean family size of all zip codes collected
the median family size of all zip codes collected.
the mean family size per zip code collected
the median family size per zip code collected
NOTE: For this program you are to COLLECT the data and then Process the data. Do NOT accumulate as you collect. You will collect the data within two parallel arrays (family size and zipcode). Upon submission to collect data, you will: ReDim both arrays and store the data collected from the screen. The program should be able to collect unlimited data. TOTALS should not be stored in anyway during collection.
NOTE: When you click a Statistics button, you will then process the arrays.
For this problem, you MUST use ReDim and Array.Sort The zip codes that can be collected are:
45202 |
45203 |
45204 |
45205 |
45206 |
45207 |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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