pilotace001
Limp Gawd
- Joined
- Nov 9, 2005
- Messages
- 232
result:
1. need to get a # (user input) of number of elements in array
2. need to give each of those elements a number (user input)
3. display the array in normal order
4. display the reverse order
I started to make it:
get user input = x and set the array[x]
then get the loop
for (i=0,i<x.length,i++) { user input
}
then what?
sustem.out.println(array) ? (has to diplay all array elenets on one disp. box)
it gives me errors when I try to convert some things to int...
workning on that now...
what would be a good way to reverse the array? (gotta be a method)
if you can help..great,
if not - it will work.....eventually
thanks
1. need to get a # (user input) of number of elements in array
2. need to give each of those elements a number (user input)
3. display the array in normal order
4. display the reverse order
I started to make it:
get user input = x and set the array[x]
then get the loop
for (i=0,i<x.length,i++) { user input
}
then what?
sustem.out.println(array) ? (has to diplay all array elenets on one disp. box)
it gives me errors when I try to convert some things to int...
workning on that now...
what would be a good way to reverse the array? (gotta be a method)
if you can help..great,
if not - it will work.....eventually
thanks