User Profile
Collapse
-
I made the file in excel and saved it as a .txt document. I listed the numbers in the first column, and put the names in the second column. So the notepad has it saved with a number, a space, and then the name. Same thing on the next line, and so on. There are fifteen lines, so 15 numbers and 15 names.... -
Here is what I have so far. I am trying to get the file I have saved as a .txt file, but I seem lost and can't get it to see the file.
import java.io.*;
import javax.swing.*;
public class FileManager {
private static final String EMPTY_STRING="" ;
private static String lineTerminator = System.getPrope rty("line.separ ator");
public FileManager() {
}...Leave a comment:
-
Please Please help on easy program
I need a program to do the following:
1. Access a file where I would have a list of people each with a different number assigned to them.
2. Ask the user to input one of the numbers
3. return the name which is associated with that number
I have eclipse, and know I need to do something with scanner and sort the array. But I have no idea what.
Any help is appreciated.
No activity results to display
Show More
Leave a comment: