Commit 1a9758f2 authored by Bran's avatar Bran

completion

parent 37b32f75
......@@ -52,7 +52,7 @@ public class AssessmentPartFour
}
String lineFromFile; //creates a string called lineFromFile
while (sc.hasNextLine()) //creates a while loop aslong as as sc has another line waiitng
while (sc.hasNextLine()) //creates a while loop as long as as sc has another line waiting
{
lineFromFile = sc.nextLine(); //stores the next line in the scanner sc
morseCode.add(lineFromFile); // assigns the value of lineFromfile to morsecode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment