|
-
August 6th, 2015, 07:32 PM
#1
Input Array and Search Array
Hey guys, I know I am going to ask for a lot of help here but I am working on simple program that will do the following:
A dialogue box will pop up asking the user to input a state name or abbreviation. The program will then search the arrays and return a value. I also need to input and store the values. I need to be able to input a persons name and a list of states the user is registered in. So example:
Enter State: [ ]
user input: NY
Return:
The following people are registered NY:
Alex [Extension: 101]
Brian [Extension: 202]
*it would be great if it used a nice organized table to display this*
I also want to be able to input and edit the arrays:
Example:
Enter Persons Name:
user input: Alex
Enter Alexs' Registered States:
user input: NY
user input: TX
I know what to do I just don't know how to do it.
I know how to search a string array but I don't know how to search multiple arrays at once.
I also don't know how to store and edit arrays based on user input. I am unsure if i need to do a loop to search for the string in the arrays or not.
Any help will be greatly appreciated! Thanks.
Tags for this Thread
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
|