Need Java Help

Status
Not open for further replies.

Yoyo

I love parentheticals
Joined
May 20, 2011
Messages
1,069
Reaction score
774
I need a bit of help with java coding.

Basically I have a long list of numbers that I want to input into an array.

I know basic file input and output, but I've never put anything into an array before. Any and all useful help would be appreciated.
 
Just relax and drink some java. The thoughts will come to you once you prove that you're believing in yourself.
 
int lol = (put how many numbers there are in here);

int[] nums = new int[lol];

for(int i = 0; i < lol; i++) {
nums = (number you want to put in to this slot)
}

tell me if i didnt answer your question with this
 
Nevermind! Figured it out. Thanks!
 
Status
Not open for further replies.

Users who are viewing this thread