Question
Asked by:
psha85
psha85
Rating : No Rating
Questions Asked: 27
Tutorials Posted: 1, earned $4.09
 

$5.00 Visual Basic array program

Q:
Okay, I really don't understand arrays in Visual Basic and now I have to write a program using them. I'm completely lost. Can someone please help me out with creating this? Thanks so much!! Here is the assignment:

Write a program to declare an array with the statement Dim state(49) As String and maintain a list of certain states. The list of states should always be in alphabetical order and occupy consecutive elements of the array. The buttons in the program should give the user the following options:
(a) Take the state specified by the user in a text box and insert it into its proper position in the array. If the state is already in the array, so report.
(b) Take the state specified by the user in a text box and delete it from the array. If the state is not in the array, so report.
(c) Display the states in the array.
 


   
   
   
   
Bambi asked: Please send me the Problem Numbers for the 3 questions you have submitted.
To which psha85 said: There are no problem numbers. They are not from the book. It's simply an assignment which the teacher gave us.
 
Available Tutorials to this Question
Posted by:
nzpapillon
nzpapillon
Rating (256): A+
Questions Asked: 0
Tutorials Posted: 549, earned $4,988.47
 

$5.00 Fully-working VB2008 tutorial and code - Array of States

  • This tutorial was purchased 2 times and rated A+ by students like you.
  • Posted on Feb 07, 2009 at 1:55:42PM
A:
Preview: ... your VB2008 IDE.<br>The actu ...

The full tutorial is about 21 words long plus attachments.

Attachments:
Array of states.zip (78K)
   
Join Now or Log In
Get Tutoring
Get Paid
Academic Honesty