|
-
Aug 7th, 2007, 01:31 PM
#1
Thread Starter
Registered User
Please help with my homework.....
I'm lost....here's the question.
Array of a structure. Create a project to analyze an income survey. The statistics for each home include an id code, # of members in household, yearly income and state of residence.
A menu will contain file, reports, help. The file menu will contain Enter Data and Exit. As the data are entered, they should be assigned from the text boxes to the elements of a structure.
The reports for the project will be sent to the printer and include the following:
(a) four column report displaying input data.
(b) listing of id code and income for each household that exceeds the average income.
(c) percentage of households having incomes below the poverty level.
--------------------------------
Poverty Guidelines
Fam Size | 48 States | AK | HI
1 | 9310 |11630 |10700
2 | 12490 |15610 |14360
3 | 15670 |19590 |18020
4 | 18850 |23570 |21680
5 | 22030 |27550 |25340
6 | 25210 |35510 |32660
7 | 28390 |35510 |32660
8 | 31570 |39490 |36320
ea add'l +| 3180 |3980 |3660
-
Aug 7th, 2007, 01:35 PM
#2
Fanatic Member
Re: Please help with my homework.....
We're not going to do your homework for you so you'll need to be a little more specific on what has you stuck.
If wishes were fishes we'd all cast nets.
-
Aug 7th, 2007, 01:37 PM
#3
Thread Starter
Registered User
Re: Please help with my homework.....
i'm stuck on if i need to create a multidimensional array and a lookup table in a single array or if it's just a multi....
-
Aug 7th, 2007, 02:31 PM
#4
Re: Please help with my homework.....
You should also say which version of VB you're using. Otherwise any help you get may be accurate but incorrect for what you're using.
As for your specific question, the way I'd recommend doing this if you're using VB 2005 would be to create a class for your 'structure' and a generic List to contain instances of this class.
-
Aug 7th, 2007, 05:22 PM
#5
Re: Please help with my homework.....
I would suggest doing as the homework suggests, and create a structure with the information required, and a single dimensional array to store each instance of the structure.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|