Sorry for double posting, but I just want to say that this particular assignment is due Friday and I'd like to get it done as soon as I can, considering all the other work I have to get done this...
Type: Posts; User: Kimimaru
Sorry for double posting, but I just want to say that this particular assignment is due Friday and I'd like to get it done as soon as I can, considering all the other work I have to get done this...
//Stores data into an array
while ((line = reader.readLine()) != null)
{
StringTokenizer line2 = new StringTokenizer(line);
while (line2.hasMoreTokens())
...
Why would I need to remove all the spaces? I need to have a space after each number.
Also, when did I tokenize a string? My professor told us we had to use the InputStream, but he barely explained...
Hello! On top of the other program I have is one that deals with taking values from a file, "input.txt" (click on the file name), storing those values into a 2D array, and printing them out like so:...