Code so far:
public static void readFile() throws FileNotFoundException { File file = new File("result.txt"); Scanner sc = new Scanne