I will start by giving a link to the instructions for this project:
link
To be honest i dont know were to start (well i kinda do but i can't get anything to work the way i think it should).
I have some code written down but it is the really obvious stuff.
If anyone can look at the direction for the lab and point me in the right direction that would be a big help and greatly appreciated.
Thanks
here is the code that i have and like i said before it is the obvious stuff:
link
To be honest i dont know were to start (well i kinda do but i can't get anything to work the way i think it should).
I have some code written down but it is the really obvious stuff.
If anyone can look at the direction for the lab and point me in the right direction that would be a big help and greatly appreciated.
Thanks
here is the code that i have and like i said before it is the obvious stuff:
Code:
import java.util.Scanner;
import java.io.*;
public class Lab7
{
public static void main(String[] args) throws IOException
{
Scanner keyboard = new Scanner(System.in);
String filename;
System.out.print("Enter input file name: ");
filename = keyboard.nextLine();
FileReader freader = new FileReader(filename);
BufferedReader inputfile = new BufferedReader(freader);
int numberOfStudents = FileIOHelper.getNumberOfStudents(filename);
System.out.println(numberOfStudents);
}
}