How do I average?. I am suppose to find the average of the GPA, total of students, and the total of GPA.
example:
input: 4
You are getting the input in your loop at this line
GPA = keyboard.nextDouble();
Problem is that, it will get another input and count will be incremented by 1. So your total will be 5. You can probably make it in this way
while (GPA >=0)
{
    GPA = keyboard.nextDouble();
    if (GPA >=0)
    {
       total = total + GPA;
       count++;
    }
    else
       break;
}