Grading Assignment

Hello all, i am new to this community and currently enrolled in a Data Structures and Algorithms course. Java is the principle language. I am having a little trouble reading a .txt file containing grades, that is supposed to be referenced, when the user runs the program. It's supposed to show the amount of grades altogether, the AVG, MIN, and MAX, of the grades within the .txt file. I keep getting the following error when i run the program: Please enter the text file:
examScores.txt
Exception in thread "main" java.io.FileNotFoundException: C:\Users\iMac\workspace\Grading%20Assignment\bin\e xamScores.txt (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileReader.<init>(Unknown Source)
at Grades.main(Grades.java:53)

Re: Grading Assignment

I'm not sure what you want us to do. It's telling you that it can't find that file. Is that file there? Are you absolutely sure? Check to make sure you're spelling everything correctly, including the usage of spaces.

Re: Grading Assignment

I am having trouble with the program recognizing the .txt file. I was hoping that i may get a few ideas. It's located in the same area as my bin, src, and .settings folder for this project. And yet it doesn't open up the .txt file after typing in examScores.txt at the prompt.

Re: Grading Assignment

public class Grades
{
//This method produces the heading for the program or you may say that it introduces the program.
public void introduction()
{
System.out.println("***Let's see those grades Einstein!!***");
System.out.println();
}

Re: Grading Assignment

I got it, thanks. It was pointing the wrong location all along, but what i did just to be sure, was delete my examScores.txt file, then created a new .txt file named exams, and placed it within the bin directory path, and it worked. Thanks for the replies.