I'm using the if statements for the grades and am now using this in the main method to pull the grades from the if statements:
jimmy.setProjectScore(100,0);
jimmy.setProjectScore(85,0);
...
Type: Posts; User: kvn7
I'm using the if statements for the grades and am now using this in the main method to pull the grades from the if statements:
jimmy.setProjectScore(100,0);
jimmy.setProjectScore(85,0);
...
I was trying to use the main method to pull the grades from getProjectScoresForID with this:
System.out.println(jimmy.getProjectScoreForID(currentIndex));
I am expecting the grades in getProjectScoreForID() to display in the console. Once I have those grades displayed, I'll continue on with the rest of the grades for project and quiz.
My project is...
debug printlns? I'm sorry but I've yet to hear of these or is that how one uses debugging? I've yet to debug a project since I'm still so new :\
but I've added this line after the jimmy object
...
Are u talking about in the main method?
sorry but I was not sure how to write the 'else' statement so I tried something like this:
else {
grade = "-1";
...
Like this?
System.out.println(projectLength);
I added that before the while loop and the console just printed out 15 which is how many project scores there are. How can I display the grades of...
I'm trying to display some project and quiz scores to the console but the console is not displaying anything when I try to run the code. It just shows an empty screen.
Here is the student class:
...