Ah yes I see now. I just have to create another array holding the same values and use that when printing.
I didn't realize the /10 part until you pointed it out. ( ¯_¯;)
The original printReverse...
Type: Posts; User: SnooSnoo
Ah yes I see now. I just have to create another array holding the same values and use that when printing.
I didn't realize the /10 part until you pointed it out. ( ¯_¯;)
The original printReverse...
I run the program and end up getting
I've no idea why the array values become 0. I added a system.out.println OUTSIDE of the for loop and it successfully prints the value.
Completely Missing...
First of, hi I'm a new user here. Learning my first year of Java.
This is just an exam question which I couldn't solve but am eager to find the answer to.
int num[] = {121, 13, 34, 11, 22, 54};
...