A flowchart reads a sequence of numbers until a sentinel value of -1 is entered. The loop condition is 'Number ≠ -1'. Where is the sentinel check placed in a While-type loop?
-
A
After the process block
-
B
Before the process block
-
C
At the start and end
-
D
Only at the end