VB Question / Visual Basic --- Hi, I\'m needing this program for Visual Basic. I
ID: 645740 • Letter: V
Question
VB Question / Visual Basic ---
Hi, I'm needing this program for Visual Basic. Instructions follow below:
-------------------------------------------------------------------------------
The local Monster shelter has a coding system for creatures. Mr. Shepherd the office manager has some people that never can remember what creatures the codes represent. You state by using parallel single-dimension arrays you will create a listbox that when the employee clicks on an animal type, the coding number will appear in a label. (NOTE: Only single dimension parallel arrays may be used for this exercise - yes I know you could use a two-dimensional array, but not this week). Hint: Listboxes have an event called .SelectedIndex
Animals=Codes
Blood Donors = 100
Shape Shifter= 200
Ghost = 300
Witch = 400
Warlock = 500
Chimaera = 600
Zombie = 700
Japanese (Godzilla, Mothra, Gamera) =800
Vampires=900
Explanation / Answer
arrSortOut(j+1) then temp=arrSortOut(j+1) arrSortOut(j+1)=arrSortOut(j) arrSortOut(j)=temp end if next next for x=0 to 8 response.write arrSortOut(x)&" " next %>Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.