well i edited my code to look like this with one loop
for(int i = 0; i < characters.length; i++)
{
char characs = input.nextLine().charAt(0);
String syms =...
Type: Posts; User: m49er704
well i edited my code to look like this with one loop
for(int i = 0; i < characters.length; i++)
{
char characs = input.nextLine().charAt(0);
String syms =...
im not quite sure. I think its reading the line at 1 in the position of the array. it goes through the loop 36 times because there are 36 lines in the file
it stores the data at position i and...
Yes but isn't that the method you use when using scanner methods for a string?
It's a program for translating a sentence into morse code. The file morse.txt
Has characters 1-9 . , ? and A-Z
And the morse code translation right next to character
I want to read the contents...
hi all,
I am having a problem reading the data from a text file into my array. it skips every other character and string in the text file
heres my code
import java.io.*;
import...