Not quite.
You only input *ONE* grade, before the loop.
You need to get one grade EACH TIME through the loop.
And though your IF tests work, you can make it simpler if you use ELSE, as well.
Oh, w.t.h.
Code:
While True
Write “Input one grade"
Read InputScore
If InputScore < 0 Then breakOutOfLoop /* how you break out depends on language*/
If (InputScore >= 90) Then
countA++
Else If InputScore >=80) Then
countB++
Else If InputScore>=70 Then
countC++
Else If InputScore>=60 Then
countD++
Else
countF++
End If
EndWhile
Now, this pseudo-code won't compile in any language I know. It's kind of a hodge-podge between VBScript and JavaScript. But the logic works.