ChiefWahoo Posted July 19, 2004 Share Posted July 19, 2004 OK I'm lost here... I'm trying to write a little program using parallel arrays. The idea is to associate a litteral string (a total of 4) throught an input dialog box to the correspondent integer (the output will be shown with a regular System.out.println). Any help would be appreciated. Link to comment Share on other sites More sharing options...
0 Chadwick Posted July 19, 2004 Share Posted July 19, 2004 what exactly is your problem ? You would just have two arrays, where the indices for are the same for hte same 'pair'. array1[0] is the string that goes with integer in array2[0] array1[1] is the string that goes with integer in array2[1] etc... Link to comment Share on other sites More sharing options...
Question
ChiefWahoo
OK I'm lost here...
I'm trying to write a little program using parallel arrays. The idea is to associate a litteral string (a total of 4) throught an input dialog box to the correspondent integer (the output will be shown with a regular System.out.println).
Any help would be appreciated.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts