Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while(toReadFile.hasNextLine()){
- while(toReadFile.hasNextInt()){
- matrix[i][j] = toReadFile.nextInt();
- j++;
- }toReadFile.nextLine();
- i++;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement