Try a sample exercise
An algorithm reads four marks. It adds a mark to a total only when it is at least 50, then reports the total divided by four. Is that the mean of the qualifying marks?
Check your answer
No. The program divides their sum by the number of all inputs even when some are below 50. It needs a separate qualifying count and a defined response if no marks meet the threshold.