Shape 5: Count inside a loop, stop on END

Reworded for this page; the exact exam wording is on your printed sheet.

Flowchart the algorithm as a picture
Start a = 0, b = 0, c = 0, vote = "" vote ≠ "END" ? Yes Input vote vote = "A" ? Yes a = a + 1 No vote = "B" ? Yes b = b + 1 No vote = "C" ? Yes c = c + 1 No No Output a, b, c Output a + b + c Stop

Rounded box: start or stop · Rectangle: a process · Parallelogram: input or output · Diamond: a decision

Trace table run it by hand, one line at a time


        
Line by line each line, and why it is there
The same algorithm in OCR Exam Reference Language